This is an old revision of the document!
Application:
Nowa - Bootstrap5 Admin & Dashboard Template. HTML5, CSS3, Bootstrap 5 framework and with Sass.
Dependencies:
GIT repo https://github.com/kaduu-cyber-threat-intelligence/forum-scanner
Prod directory: /var/work/forum_scraper
Do NOT update via root! Use "sudo -u www-data git pull".
For sync DB - "python3 manage.py migrate –run-syncdb"
Deploy:
Django + Uwsgi + Nginx
This tutorial is aimed at the Django user who wants to set up a production web server.
https://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html
Supervisor is a system that allows its users to monitor and control a number of processes on UNIX-like operating systems. We need to make sure that our server starts automatically with the system and that it can automatically restart if for some reason it exits unexpectedly. These tasks can easily be handled by Supervisor.
Supervisor:
Logs:
configs