From 12d8231df2fe636247932cd313a744a915e63132 Mon Sep 17 00:00:00 2001 From: Marcin Jachymiak Date: Thu, 30 Jan 2020 13:38:14 -0500 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++++-- setup.sh | 3 +-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 282b7e39..fc2e563d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ -# Sia Skynet Production Server Setup Guide +# Skynet Portal Setup Scripts -TODO: import dropbox paper stuff into here +This directory contains a setup guide and scripts that will install and +configure some basic requirements for running a Skynet Portal. The assumption is +that we are working with a Debian Buster Minimal system or similar. + +## Initial Setup +(Assumes we are logged in as root on a fresh installation of Debian) + +1. `apt-get update && apt-get install sudo` +2. `adduser user` +3. `usermod -a -G sudo user` +4. QUIT SSH SESSION +5. ON LOCAL COMPUTER: `ssh-copy-id user@ip-addr` +6. ON LOCAL COMPUTER: `ssh user@ip-addr` +7. (LOGGED IN AS USER): `sudo apt-get install git` +8. `git clone https://github.com/NebulousLabs/skynet-webportal` +9. `cd skynet-webportal/setup-scripts && ./setup.sh` +10. Once DNS records are set you can run: `./letsencrypt-setup.sh` diff --git a/setup.sh b/setup.sh index 9d2e511a..1c305e01 100755 --- a/setup.sh +++ b/setup.sh @@ -59,8 +59,7 @@ sudo ufw allow 'Nginx HTTP' # Setup skynet frontend. cd ~/ -git clone https://gitlab.com/NebulousLabs/siawebviewer && cd siawebviewer -git checkout logging +git clone https://github.com/NebulousLabs/skynet-webportal && cd skynet-webportal yarn # Start the frontend.