People discovery in events
- Python 2.7
- PIP
- virtualenv
- virtualenvwrapper (optional, used in install instructions)
- clone the repo
git clone git@github.com:kennethklee/hoot.git
- go into the project
cd hoot
- create virtual env
mkvirtualenv hoot
- run
pip install -r requirements.txt
- make a copy of the dev settings
mv settings/example_development.py settings/development.py
- create the database
python manage.py syncdb
- migrate database
python manage.py migrade --all
When you're done working on it, deactivate
When you're working on it again, workon hoot
./manage.py runserver
Requirements:
- fabric
- Retrieve initial fabfile
git submodule update --init
- Each time before deploying, do a
git submodule update
- To deploy to staging:
fab staging deploy
- To deploy to production:
fab production deploy