1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/build

20 lines
298 B
Text
Raw Normal View History

2015-10-19 13:04:49 +01:00
#!/usr/bin/env bash
set -e
pyvenv-3.4 env
env/bin/pip install -r requirements.txt --upgrade
2016-01-02 00:05:01 +00:00
scripts/get-private-data.sh
2015-10-19 13:04:49 +01:00
npm install
npm run build
env/bin/python manage.py collectstatic --noinput
2016-01-16 14:39:54 +00:00
if [[ $@ == prod ]]
then
echo ">> Running Migrations..."
env/bin/python manage.py migrate
fi