- 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
django-admin runserver --pythonpath=. --settings=tinyapp
django-admin runserver --pythonpath=. --settings=tinyapp
-
https://github.com/chriswedgwood/django-htmx-examples/tree/main/django_htmx_examples
-
https://dev.to/arthurobo/django-htmx-load-more-objects-3jg3: Bootstrap CSS styling from this project
-
https://stackoverflow.com/questions/9629346/difference-between-css3-transitions-ease-in-and-ease-out
-
https://livebook.manning.com/book/django-in-action/chapter-12/v-6/14
- Installed on ec2 with this ansible playbook using these commands:
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 setINSTALL_SYSTEMD_FILES: false
inansible_private_vars.yaml