This template sets up a project to be used with juntagrico.science as hosting.
On any environment install Python 3, and add it to your path
sudo easy_install pip
sudo pip install virtualenv
virtualenv --distribute venv
source ./venv/bin/activate
pip install --upgrade -r requirements.txt
./manage.py migrate
./manage.py createsuperuser
./manage.py create_member_for_superusers
Simple
./manage.py generate_testdata
More complex
./manage.py generate_testdata_advanced
./manage.py runserver
This should do it for your local setup:
pip install virtualenv
virtualenv --distribute venv
venv\Scripts\activate.bat
pip install --upgrade -r requirements.txt
python -m manage migrate
python -m manage createsuperuser
python -m manage create_member_for_superusers
Simple
python -m manage generate_testdata
More complex
python -m manage generate_testdata_advanced
python -m manage runserver
you have to login to a heroku bash and setup the db and create the admin user as desbribed in the UNIX section