|
@@ -76,6 +76,16 @@ else
|
|
exit
|
|
exit
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+# Checking for sharix_open.service
|
|
|
|
+if [ -f sharix_open.service ]; then
|
|
|
|
+ echo "File sharix_open.service already exists"
|
|
|
|
+else
|
|
|
|
+ cp conf/sharix_open.service.example conf/sharix_open.service
|
|
|
|
+ echo "File sharix_open.service was successfully created"
|
|
|
|
+ echo "Write the settings for systemd service."
|
|
|
|
+ exit
|
|
|
|
+fi
|
|
|
|
+
|
|
# Run Django migrations and other commands
|
|
# Run Django migrations and other commands
|
|
python manage.py makemigrations dbsynce tickets webservice_running landing user
|
|
python manage.py makemigrations dbsynce tickets webservice_running landing user
|
|
python manage.py migrate
|
|
python manage.py migrate
|