Skip to content

johnedstone/django-htmx-simple-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

History

  • 04-Mar-2024: (git commit: 6e01aef) Simplest example of simple django (tinyapp) with htmx with animation, 145 lines of code
  • 06-Mar-2024: (git commit: 41244f4) Deployed to ec2 with sample data using systemd, nginx, gunicorn, 159 lines of code
  • To Do: pull live data from REST API and display with htmx

Run this app

django-admin runserver --pythonpath=. --settings=tinyapp

References

    django-admin runserver --pythonpath=. --settings=tinyapp

Deployed: 06-Mar-2024: (git commit: 41244f4)

ansible-playbook --tags gunicorn-setup,letsencrypt --flush-cache --diff -i inventory.ini playbook.yaml
  • Added wsgi.py and change running to gunicorn --env DJANGO_SETTINGS_MODULE=tinyapp wsgi, updated systemd files and set INSTALL_SYSTEMD_FILES: false in ansible_private_vars.yaml

About

Simple example: django tiny app plus htmx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published