Below are the basic setups steps. Please be sure to update this as you make changes to setup needs.
In order to make CAS cooperate, you will need to point a gatech subdomain to localhost. Add something like the following to your /etc/hosts
file:
127.0.0.1 dev.gatech.edu
Now, instead of developing at http://localhost:8000
, use http://dev.gatech.edu:8000
.
To run the basic dev environment you will need:
- Python 2.6 (or 2.7)
- Django 1.3
- sqlite3
- python-pip
- pep8 (hint:
pip install pep8
) - django-cas
A quick way to install these is to install python
and pip
and then type:
pip install -r requirements.pip
Note that this will only install the python dependencies.
The first time you run the dev server, you will need to sync the database. From the project root, type:
python manage.py syncdb
To run the server, simply type:
python manage.py runserver
Now you can access the site at http://localhost:8000
. See Django Docs for more details.
Before you commit, make sure that your code passes pep8. From your project root, run:
pep8 --ignore=E501 webapp/core/**.py
- Ben Olive
- Craig Campbell
- Jacob Robertson
- Matthew McCawley