Commit ed2a370c by Bruno Bzeznik

Synced to phylodb master branch + debug

parent 4f4dc92b
Pipeline #40 passed with stages
in 3 seconds
......@@ -28,6 +28,7 @@ pip install ply
pip install sparqlwrapper
pip install django-debug-toolbar
pip install django-widget-tweaks
pip install django-role-permissions
pip install -I gunicorn
# Create the postgis extension into DBs (must be superuser)
......@@ -36,8 +37,11 @@ sudo -u postgres psql -d browser_db -c "CREATE EXTENSION IF NOT EXISTS postgis"
# Create the databases schema
cd $PHYLODB_DIR
echo "Make migrations..."
python3 manage.py makemigrations
echo "Migrate..."
python3 manage.py migrate
echo "Migrate browser..."
python3 manage.py migrate --database=browser_db
# Database initial data
......@@ -84,7 +88,7 @@ if [ \! -f phylobrowser/static/css/browser.css ]
then
sass phylobrowser/static/sass/browser.sass phylobrowser/static/css/browser.css
sass phyloeditor/static/sass/editor.sass phyloeditor/static/css/editor.css
sass phylohome/static/sass/home.sass phylohome/static/css/home.css
#sass phylohome/static/sass/home.sass phylohome/static/css/home.css
fi
# Copy static files and grant permissions to httpd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment