docs: split out teh documentation on how to create a website

This commit is contained in:
silver 2024-09-22 19:45:34 +01:00
parent 60207b612e
commit cf3853c2db
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D
3 changed files with 30 additions and 16 deletions

BIN
_git.tar.gz (Stored with Git LFS)

Binary file not shown.

View file

@ -12,7 +12,7 @@ You can find more of the history here: <https://2009.skynet.ie/history.html>
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: <https://public.skynet.ie/slides/skynet/1_setup.html>
[See the tutorial on the website for more info](../../tutorials/skynet/create_website.md)

View file

@ -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: <https://public.skynet.ie/slides/skynet/1_setup.html>