I’ve been writing some Django tutorials and I thought I’d put them all in one place.
If’n you’ve never done much with the internet, I highly suggest you read these two pieces first:
- Hey journalists — here’s why you should learn to make the internets
- Learning to make the internets — a journalist’s guide
And now to the Django bits:
- Step One: Setting up your Ubuntu server on Amazon Web Services
- Step Two: Installing and setting up a basic Django project
- Step Three: Connecting to your server with an FTP client
- Step Four: Writing your Django models
- Step Five: Setting up your database and settings.py file
- Step Six: The Views and Templates
- Step Seven: Configuring uWSGI and nginx – Beware, as there are some issues with this server setup and it’s not working super great. I’ll fix this later.
- Step Eight: Configuring the admin and uploading to S3
The final steps are “How to add Content” and “Setting up Varnish” for caching. You can add content just probably by fiddling with the admin. The Varnish part just explains how to set up your website to take lots of traffic.