Рет қаралды 291
GitHub Repo for the project: github.com/anze3db/djsandbox
In this video, I speed through creating a new Django Project and deploying it to my Raspberry Pi. It took me about 45 minutes to get everything working in real time, but through the power of editing, I managed to cut it down to only four minutes. Even though I was tempted, I decided not to remove my failures, so there is also a little debugging in the video.
I use Gunicorn to run the Django app and Nginx as a proxy between all the different projects/domains. I use systemd to start the Django services, but I don't use Docker or any other kind of container technology. I do run a self compiled version of Python and SQLite, but only because the Debian packages are a bit out of date.
I should write a script that automatically does all of these manual steps for me!