- Install Vagrant for your OS
- Ensure you have a git client (try SourceTree if you don't have one)
- Clone our repository:
git clone https://github.com/dhm116/ArchAngel
from the command line, or use your git gui - Open a shell prompt where you checked out ArchAngel and type
vagrant up
- Go get a snack while vagrant downloads Ubuntu 13.04, installs PostgreSQL and NodeJS
- When complete, simply type
vagrant ssh
to gain access to the VM - Your ArchAngel folder is mounted on the VM at
/vagrant_data
, so any web apps would run from that location - Ports 22 (ssh), 3333 (for node app) and 5432 (postgres) are automatically forwarded to your local machine, so you can access them as if they were running directly on your OS
- From a command prompt, type
vagrant up
in your ArchAngel project folder. Give this a minute or two to boot up. - Log in to the development VM with
vagrant ssh
- After you SSH into the VM, change to the mapped folder with
cd /vagrant_data
- Next, make sure your node modules are update to date. Switch to our brunch app with
cd brunch-app
and then typenpm install
- This may or may not take some time to install dependent packages depending on if you have done this previously.
- Start up brunch with
brunch w -s
(which is shorthand forbrunch watch --server
)
I would advise creating a new branch for any work you do. It helps compartmentalize your changes in case something goes wrong and helps keep the main master branch stable for deployment.
todo