summaryrefslogtreecommitdiffstats
path: root/web/init.sh
blob: 1545fc84c64b637530d2a8a45480ac5ba19557e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -e
##############################################################################
# Copyright (c) 2018 Trevor Bramwell and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
python manage.py migrate && \
python manage.py collectstatic --no-input && \
gunicorn laas_dashboard.wsgi -b 0.0.0.0:8000