Setup: Ubuntu 14.04 Lightsail instance with static IP address, DNS type A record linking the static IP to domain name (ravivakil.org)
- SSH into the server by running
$ ssh -i /path/to/private/key [email protected] - Securely move the private key onto the server (is this safe?)
$ scp -i /path/to/private/key /path/to/private/key [email protected]:home/ubuntu/ - Install node.js, version 12.x.x (see https://github.com/nodesource/distributions/blob/master/README.md) by running
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -followed by$ sudo apt-get install -y nodejs - Download meteor by running
$ curl https://install.meteor.com/ | sh - Download Coauthor via git by running
$ cd ~ && git clone https://github.com/edemaine/coauthor.git. Also create a build directory for later:$ cd ~ && mkdir coauthor-build - Setup SSL certificates by following the instructions here: https://certbot.eff.org/lets-encrypt/ubuntuxenial-other