init.sh 328 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh
# initialize environment for repanier development
#
# please apt-get install python3-dev

virtualenv -p python3 venv
venv/bin/pip install -r requirements/requirement.txt

# activate environment before executing django commands:
#
#   $ . venv/bin/activate
#   $ ./manage.py migrate
#   $ ./manage.py runserver
#   ...