Deploying Django on a single Debian or Ubuntu serverΒΆ
- 1. Getting started
- 1.1. Introduction
- 1.2. Getting a server
- 1.3. Introduction to SSH keys
- 1.4. How SSH keys work
- 1.5. Using an SSH agent
- 1.6. Essential GNU/Linux commands
- 1.7. Shell files, editing files, remote copying
- 1.8. Installing software on a Debian/Ubuntu server
- 1.9. Reading the documentation
- 1.10. Setting up the system locale
- 1.11. Quickly starting Django on a server
- 1.12. Things we need to fix
- 2. DNS
- 3. Users and directories
- 4. The web server
- 5. Static and media files
- 6. Gunicorn
- 7. Production settings
- 8. PostgreSQL
- 9. Recovery part 1
- 9.1. Why “recovery”?
- 9.2. Where to backup
- 9.3. Estimating storage cost
- 9.4. Setting up backup storage
- 9.5. Setting up duplicity and duply
- 9.6. Duply configuration
- 9.7. Excluding files
- 9.8. Additional directories for excluding or including
- 9.9. Backing up databases
- 9.10. Running scheduled backups
- 9.11. Chapter summary
- 10. Recovery part 2
- 10.1. Restoring a file or directory
- 10.2. Restoring SQLite
- 10.3. Restoring PostgreSQL
- 10.4. Restoring an entire system
- 10.5. Recovery testing
- 10.6. Copying offline
- 10.7. Storing and rotating external disks
- 10.8. Recovering from offline backups
- 10.9. Scheduling manual operations
- 10.10. Chapter summary
- 11. About/Copyright