From 66d5b2d478cc08014dc939c248083026198d5dd0 Mon Sep 17 00:00:00 2001 From: Marcin Jachymiak Date: Thu, 30 Jan 2020 13:39:56 -0500 Subject: [PATCH] Move setup scripts in dir --- README.md | 20 +------------------ setup-scripts/README.md | 19 ++++++++++++++++++ .../authorized_keys | 0 bashrc => setup-scripts/bashrc | 0 .../letsencrypt-setup.sh | 0 setup.sh => setup-scripts/setup.sh | 0 .../skynet-nginx.conf | 0 ssh_config => setup-scripts/ssh_config | 0 tmux.conf => setup-scripts/tmux.conf | 0 9 files changed, 20 insertions(+), 19 deletions(-) create mode 100644 setup-scripts/README.md rename authorized_keys => setup-scripts/authorized_keys (100%) rename bashrc => setup-scripts/bashrc (100%) rename letsencrypt-setup.sh => setup-scripts/letsencrypt-setup.sh (100%) rename setup.sh => setup-scripts/setup.sh (100%) rename skynet-nginx.conf => setup-scripts/skynet-nginx.conf (100%) rename ssh_config => setup-scripts/ssh_config (100%) rename tmux.conf => setup-scripts/tmux.conf (100%) diff --git a/README.md b/README.md index fc2e563d..bfa4af69 100644 --- a/README.md +++ b/README.md @@ -1,19 +1 @@ -# Skynet Portal Setup Scripts - -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` +# Skynet Portal diff --git a/setup-scripts/README.md b/setup-scripts/README.md new file mode 100644 index 00000000..fc2e563d --- /dev/null +++ b/setup-scripts/README.md @@ -0,0 +1,19 @@ +# Skynet Portal Setup Scripts + +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/authorized_keys b/setup-scripts/authorized_keys similarity index 100% rename from authorized_keys rename to setup-scripts/authorized_keys diff --git a/bashrc b/setup-scripts/bashrc similarity index 100% rename from bashrc rename to setup-scripts/bashrc diff --git a/letsencrypt-setup.sh b/setup-scripts/letsencrypt-setup.sh similarity index 100% rename from letsencrypt-setup.sh rename to setup-scripts/letsencrypt-setup.sh diff --git a/setup.sh b/setup-scripts/setup.sh similarity index 100% rename from setup.sh rename to setup-scripts/setup.sh diff --git a/skynet-nginx.conf b/setup-scripts/skynet-nginx.conf similarity index 100% rename from skynet-nginx.conf rename to setup-scripts/skynet-nginx.conf diff --git a/ssh_config b/setup-scripts/ssh_config similarity index 100% rename from ssh_config rename to setup-scripts/ssh_config diff --git a/tmux.conf b/setup-scripts/tmux.conf similarity index 100% rename from tmux.conf rename to setup-scripts/tmux.conf