Clone from GitHub both webpage and nodewatcher repositories:
git clone https://github.com/wlanslovenija/mainpage.git git clone https://github.com/wlanslovenija/nodewatcher.git
You can also use SSH-based URLs or URLs of your forks.
Create and activate new Python virtual environment:
virtualenv --no-site-packages --distribute ~/.virtualenv/mainpage source ~/.virtualenv/mainpage/bin/activate
Move to location where you cloned webpage repository and run
devsetup
script:python scripts/devsetup.py
This script will install all requirements and import database dump to local database.
Run:
python manage.py runserver
and start developing!
You can safely rerun the devsetup
as needed, but be advised that local
database content will NOT be preserved.