Skip to content
joshmarshall edited this page Aug 20, 2011 · 2 revisions

It is HIGHLY recommended that you develop against the Vagrant environment.

You will be able to edit in any tools you wish, but the server and the tests can be run against an actual production environment. This means that we can have people editing in Windows, Mac, or Linux and reduce any cross-platform issues.

After you have install VirtualBox (http://www.virtualbox.org/) and Vagrant (http://vagrantup.com/), you should be able to simply cd into the base directory and run the following command:

vagrant up

This will take a bit. Once it is finished, you should be able to go to http://localhost:8080 and see the site running behind Apache. (although who knows what state it was left in. :)

To start the dev server or run tests, etc, run the following:

vagrant ssh
cd /vagrant
python austinpython/manage.py runserver
# or, for tests
python austinpython/manage.py test

The test server should be available at http://localhost:8000 in a browser.

If you want to see how your changes work under Apache, then you'll need to run the following:

vagrant ssh
sudo /etc/init.d/apache2 restart
Clone this wiki locally