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.