* Allow bower install of frontend components as root. Needed for frontend development in docker since everything runs as root in the docker image. * Improve development workflow in docker * Use LANG=C.UTF-8 in tox. Fixes installation of libraries with UTF-8 in it's readme. * Install mysqlclient psycopg2 uvloop after requirements_all.txt again, but with a --no-cache-dir this time. Allows bootstrap_frontend to be executed in a different path like the other scripts.
24 lines
428 B
Bash
Executable file
24 lines
428 B
Bash
Executable file
#!/bin/sh
|
|
# Resolve all server dependencies that the application requires to run.
|
|
|
|
# Stop on errors
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
echo "Installing dependencies..."
|
|
python3 -m pip install -r requirements_all.txt
|
|
|
|
REQ_STATUS=$?
|
|
|
|
echo "Installing development dependencies.."
|
|
python3 -m pip install -r requirements_test.txt
|
|
|
|
REQ_DEV_STATUS=$?
|
|
|
|
if [ $REQ_DEV_STATUS -eq 0 ]
|
|
then
|
|
exit $REQ_STATUS
|
|
else
|
|
exit $REQ_DEV_STATUS
|
|
fi
|