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.
website-2020-spike/scripts/setup.sh

21 lines
247 B
Bash
Raw Normal View History

2020-04-12 15:35:36 +01:00
#!/usr/bin/env bash
export PATH=env/bin:${PATH}
set -ex
python3 -m venv env
pip install -r requirements.txt
if [ "$DEBUG" != "false" ];
then
pip install -r dev-requirements.txt
fi
2020-04-12 15:51:48 +01:00
npm ci
2020-04-12 16:15:46 +01:00
npm run build
2020-04-12 15:35:36 +01:00
./manage.py collectstatic --noinput