load.sh 260 Bytes
Newer Older
1 2 3 4 5 6 7
#! /bin/sh

# create virtual env
# without --system-site-packages
test -d venv || virtualenv venv/

# install required dependencies
8
./venv/bin/pip install -U -r requirements.txt
9 10

# use `source venv/bin/activate`
11 12

./venv/bin/python manage.py migrate --no-input