tombola-bde-2020/entrypoint.sh

13 lines
262 B
Bash
Raw Normal View History

2020-02-29 05:12:46 +00:00
#!/bin/bash
# Copyright (C) 2020 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
python manage.py compilemessages
python manage.py makemigrations
# Wait for database
sleep 2
python manage.py migrate
python manage.py runserver 0.0.0.0:8000