Moving to decoupled Vue based UI: https://github.com/r-t-k/StreamEngine-Frontend
Currently this repo contains a monolith django app comprising the app features of UI, Admin, and API. The plan is ultimately to separate it into those respective pieces, and leave this repo to be only for UI.
There are essentially two parts right now, with a third (db) being worked on.
You have the docker-compose portion and the Nginx portion
Install docker and docker-compose
clone this repo and check directory names editing the docker compose file as necessary
then run docker-compose up --build -d
Hot reload is turned on by default
to disable: remove the param:
--py-autoreload=1
from
CMD ["uwsgi", "--py-autoreload=1"]
Install Nginx to your server
then create ui.conf
under /etc/nginx/sites-available
copy the contents of my nginx.conf to ui.conf
then run ln -s /etc/nginx/sites-available/ui.conf /etc/nginx/sites-enabled/
Reload Nginx
edit the ui.conf
for domain and ssl
Django over uwsgi: https://www.eidel.io/2017/07/10/dockerizing-django-uwsgi-postgres/
Dockerfile: https://www.caktusgroup.com/blog/2017/03/14/production-ready-dockerfile-your-python-django-app/