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

20 lines
272 B
Bash
Executable file

#!/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
npm ci
./scripts/build-static.sh
./manage.py collectstatic --noinput --clear -v 2