Add pm2 command and fixups

This commit is contained in:
Marcin Jachymiak 2020-01-29 17:30:40 -05:00
parent bb01f95812
commit 6e42ef4542
1 changed files with 7 additions and 3 deletions

View File

@ -31,7 +31,7 @@ wget -c https://dl.google.com/go/go1.13.7.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.13.7.linux-amd64.tar.gz
rm go1.13.7.linux-amd64.tar.gz
# Sanity check that will pass if go installed correctly.
# Sanity check that will pass if go was installed correctly.
go version
# Install Sia
@ -52,7 +52,11 @@ sudo certbot --nginx -d siasky.net -d www.siasky.net
sudo certbot renew --dry-run
sudo ln -s /etc/nginx/sites-available/skynet /etc/nginx/sites-enabled/skynet
git clone https://gitlab.com/NebulousLabs/siawebviewer
# Setup skynet frontend.
cd ~/
git clone https://gitlab.com/NebulousLabs/siawebviewer && cd siawebviewer
git checkout logging
yarn
# Start the frontend.
pm2 --name skynet start npm -- start