March 2020
Intermediate to advanced
608 pages
17h 17m
English
Make sure that your project configuration doesn't raise warnings when you run the following:
(env)$ python manage.py check --deploy -- settings=myproject.settings.production
Make sure you have the latest stable version of Ansible.
Choose a server provider and create a dedicated server there with root access via SSH with private and public key authentication. My provider of choice is DigitalOcean (https://www.digitalocean.com/), with which I created a dedicated server (Droplet) with Ubuntu 18. I can connect to the server by its IP, 142.93.167.30, using a new SSH private and public key-pair, ~/.ssh/id_rsa_django_cookbook and ~/.ssh/id_rsa_django_cookbook.pub respectively.
Locally, we need to configure SSH connections by creating ...