This is a quasi-realistic exercise with Fillerama in Django for jonhwilliams.com. You might notice the content seems disconnected, but edgy, irreverent, with a subtle undercurrent of poignancy. One of these weekends we might decide to put real content in there, but then we'ld have to charge you a subscription, implement modals, and assure you we respect your privacy and would *never* accidentally sell your address.
- 👀 build: python venv managed w asdf
- 🌱 version control: github
- 💞️ deploy: cost-effective serverless hosting
I love meeting new people. To connect:
- Mention me in an issue or pull request: @kjon-life
- My friends connect on Instagram: @kilo.jon
- LinkedIn works for everything else.
- Gunicorn is a Python WSGI HTTP Server for UNIX, perfect for serving Django projects in production
- Postgres
- WhiteNoise to serve static files
- Authenticate with 2FA
- GitHub Actions deploys main to dev automatically
- requirements
- django-environ - separate local,dev,prod (in practice had to use environment variables to avoid commiting things to github which should not be there)
- Postgres
- Docker - to package Django apps as image (this is a fly.io thing)
- flyctl - to build images, config toml, and deploy
- GitHub Actions - for CI/CD (just because you can)
- Fly.io - for the serverless hosting platform (turns off for the 99.99999 percent of the time that no one is visiting the site)
flyctl
is a CLI tool from Fly.io
You can read about it here.
2024-04-07 2231 HRS
- App deployed on fly.io and available at https://kjon-django.fly.dev/ or https://django.jonhwilliams.com/
- GitHub repository is now public.
fly secrets set CSRF_TRUSTED_ORIGINS='https://kjon-django.fly.dev'
fly secrets set ALLOWED_HOSTS='kjon-django.fly.dev'
This project depends on the copious contributions of others and is possible because of the following services: