Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 609 Bytes

readme.md

File metadata and controls

39 lines (29 loc) · 609 Bytes

Backend Template with Django and devops

Included Frameworks

  • Django
  • Tailwind CSS
  • Django Live Reload

Devops

  • Prometheus
  • Cadvisor
  • Nginx
  • Certbot

Before Running

Edit SERVER_NAME variable inside deployment/nginx/app.conf and ./init-letsencrypt.sh

# Create virtual Environment
# install requirements
$ cd backend
# activate virtual environment
$ python manage.py tailwind init
$ python manage.py tailwind install

# For running tailwind dev server
$ python manage.py tailwind start

For Live Reload

{% load livereload_tags %}
...
{% livereload_script %}
</head>