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

19 lines
316 B
Bash
Executable file

#!/usr/bin/env bash
set -e
pyvenv-3.4 env
env/bin/pip install -r requirements.txt --upgrade
scripts/get-private-data.sh
npm install
npm run build $@
env/bin/python manage.py collectstatic --noinput
if [ $BUILD_PRODUCTION == "true" ]
then
echo ">> Running Migrations..."
env/bin/python manage.py migrate
fi