From 347c979b3536f265b2dfeed2c827672ffb41e947 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 9 Feb 2025 21:18:54 +0000 Subject: [PATCH] feat: updated teh documentation on how to do the websites --- src/tutorials/skynet/create_website.md | 33 ++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/src/tutorials/skynet/create_website.md b/src/tutorials/skynet/create_website.md index f18f128..18512eb 100644 --- a/src/tutorials/skynet/create_website.md +++ b/src/tutorials/skynet/create_website.md @@ -1,10 +1,34 @@ # 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. +One of the services that Skynet provides is access to a Linux server which also has a webserver. +Additionally each member gets their own domain: + +* $USERNAME.users.skynet.ie + * This is the core web address + * https://silver.users.skynet.ie +* skynet.ie/~$USERNAME + * This is backwards compatible to help avoid link rot + * Redirects to the core address above + * https://skynet.ie/~silver ## Website -### Manually +There are two ways to create a website on Skynet, Modern and Manual. +Modern is using Source Control (git), pipelines (CI/CD) and pinch of magic. +Manual gets you hands on with the process. + +### Modern +Modern involves using source control to version your site. +This is then leveraged to automatically deploy to your Skynet account/website. + +The core repo for this is [here][deploy_user]. +If this does not suit your needs you can take a look at the [forks which cover different tools][deploy_user_forks]. + +[deploy_user]: https://forgejo.skynet.ie/Skynet/deploy_user +[deploy_user_forks]: https://forgejo.skynet.ie/Skynet/deploy_user/forks + +### Manual +## Login +Once ye have [logged in](./create_ssh.md) you will be able to create a website on Skynet. In your home folder follow these commands to create the folder that can be used to host a website @@ -19,8 +43,7 @@ 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``. +Anything put there will be accessible under ``https://$USERNAME.users.skynet.ie``. ## More info There is a slideshow that might be of use to you: \ No newline at end of file