feat(api): remove admin app and static files

- remove django admin app,
- disable static files for production deployment,
- keep the rest framework browsable api in dev mode.
This commit is contained in:
jo 2022-03-01 13:19:59 +01:00 committed by Kyle Robbertze
parent 4da8d8c06b
commit 9af717ef7f
2 changed files with 8 additions and 9 deletions

View file

@ -1083,7 +1083,6 @@ mkdir -p /etc/airtime
sed -e "s@WEB_USER@${web_user}@g" \
-e "s@WEB_ROOT@${web_root}@g" \
"${AIRTIMEROOT}/installer/uwsgi/libretime-api.ini" > /etc/airtime/libretime-api.ini
loudCmd "libretime-api collectstatic --clear --noinput"
verbose "...Done"
verbose "\n * Setting permissions on /var/log/airtime..."