Starting from a Unbuntu server with Nginx installed and set up with Let's Encrypt HTTPS, we install Postgres, Elixir and Phoenix and then make an automated deployment system using Distillery and Edeliver, without needing Docker.
After setting everything up, deployment can be done entirely from your local machine and upgrades take only only a single command:
mix edeliver deploy release to production
Previously in this series
- Setting up Virtual Box with Ubuntu (on Win10)
- Setting up Ubuntu on Digital Ocean
- Setting up Nginx and Let's Encrypt for free HTTPS on Digital Ocean
UPDATE: In the new version of Edeliver, don't add the 'set output_dir' line to your config at 17:42!