20 lines
272 B
Bash
Executable file
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
|