From cf3853c2dbe3ed201b934a682c1dd5050470284c Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 22 Sep 2024 19:45:34 +0100 Subject: [PATCH] docs: split out teh documentation on how to create a website --- _git.tar.gz | 4 ++-- src/skynet/services/skynet.md | 16 ++-------------- src/tutorials/skynet/create_website.md | 26 ++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 src/tutorials/skynet/create_website.md diff --git a/_git.tar.gz b/_git.tar.gz index 0f2b8ea..db39c25 100644 --- a/_git.tar.gz +++ b/_git.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:157aa28fbd798300534d65efd3d50063973749039a1722a9816b479327599e9e -size 328924 +oid sha256:adbe687c5f5f0512ea64680ad16a63879e8be0827a40e9b23d9a573853cb9a9c +size 331908 diff --git a/src/skynet/services/skynet.md b/src/skynet/services/skynet.md index eda05b7..919ce90 100644 --- a/src/skynet/services/skynet.md +++ b/src/skynet/services/skynet.md @@ -12,7 +12,7 @@ You can find more of the history here: Login is done via ssh and ssh keys. ## SSH Keys -[See the tutorial on SSH keys for more info](../../tutorials/skynet/create_ssh) +[See the tutorial on SSH keys for more info](../../tutorials/skynet/create_ssh.md) ### Logging in In any terminal do this: @@ -23,16 +23,4 @@ ssh username@skynet.skynet.ie And you will be in! ## Website -In your home folder follow these commands to create the folder that can be used to host a website - -```bash -mkdir ~/public_html -chmod 711 ~ -chmod -R 755 ~/public_html -cd ~/public_html -``` - -See below for an easy way to upload files to this folder. - -## More info -There is a slideshow that might be of use to you: \ No newline at end of file +[See the tutorial on the website for more info](../../tutorials/skynet/create_website.md) \ No newline at end of file diff --git a/src/tutorials/skynet/create_website.md b/src/tutorials/skynet/create_website.md new file mode 100644 index 0000000..f18f128 --- /dev/null +++ b/src/tutorials/skynet/create_website.md @@ -0,0 +1,26 @@ +# Create your own website on Skynet + +## Login +Once ye have [logged in](./create_ssh.md) you will be able to create a website on Skynet. + +## Website +### Manually + +In your home folder follow these commands to create the folder that can be used to host a website + +```bash +mkdir ~/public_html +chmod 711 ~ +chmod -R 755 ~/public_html +cd ~/public_html +``` + +To transfer files graphically you can use these programs: +* WinSCP +* FileZilla + +Anything put there will be accessible under ``https://$USERNAME.users.skynet.ie``. +For backwards compatability ``https://skynet.ie/~$USERNAME`` will redirect to ``https://$USERNAME.users.skynet.ie``. + +## More info +There is a slideshow that might be of use to you: \ No newline at end of file