aboutsummaryrefslogtreecommitdiff
blob: 4d27768c0c99cf0c7e1fd8540f9e32429e15031d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/env bash
# Copyright 2020 Gentoo Authors
# Licensed under the GNU General Public License v2

set -e
set -u

PS4='# '
set -x

id
ip addr

if [[ $# -gt 0 ]]; then
    exec "$@"
fi

python2 manage.py migrate

exec python2 manage.py runserver 0.0.0.0:55080