-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstart.sh
19 lines (15 loc) · 841 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
echo "+++++++++++++++++ Copy Settings File ++++++++++++++++++++++++"
ls activity/settings/
cp activity/settings/local-sample.py activity/settings/local.py
ls activity/settings/
echo "------------------- Copying Settings file Done!!! ------------------------"
echo "+++++++++++++++++ Initialize database migrations ++++++++++++++++++++++++"
python manage.py makemigrations
echo "------------------- Initialize database migrations Done!!! ------------------------"
echo "+++++++++++++++++ Make migrations ++++++++++++++++++++++++"
python manage.py migrate
echo "------------------- Make migrations Done !!! ------------------------"
echo "+++++++++++++++++ Start up the server ++++++++++++++++++++++++"
python manage.py runserver 0.0.0.0:8000
echo "------------------- Development server up and running ------------------------"