Digital Ocean is yet another cloud provider that offers easy and affordable hosting. Let's go through the following steps to set up a project:
- Sign up for Digital Ocean by going www.digitalocean.com.
- Click API from the navigation menu.
- Click Generate new Token to create a new personal token that we can use to deploy.
- Copy and paste that token.
- Type docker-machine into your Terminal. If you get an error, run the following command to install it:
% base=https://github.com/docker/machine/releases/download/v0.16.0 &&curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/usr/local/bin/docker-machine &&chmod +x /usr/local/bin/docker-machine
See https://docs.docker.com/machine/install-machine/ for more details on installing docker-machine.
- Type in the following:
% docker-machine create --digitalocean-size "s-2vcpu-4gb...