summaryrefslogtreecommitdiffstats
path: root/dashboard/web/init.sh
blob: 736acc1ecde7fbcb47260853575a33d55d05f06b (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 pharos_dashboard.wsgi -b 0.0.0.0:8000