doc: updated documentation
This commit is contained in:
parent
b2c134d950
commit
b6f4f3b1ba
1 changed files with 22 additions and 2 deletions
|
@ -16,20 +16,27 @@ 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.
|
Modern is using Source Control (git), pipelines (CI/CD) and pinch of magic.
|
||||||
Manual gets you hands on with the process.
|
Manual gets you hands on with the process.
|
||||||
|
|
||||||
|
|
||||||
|
### Skynet Account requirement
|
||||||
|
No matter if you choose Modern or Manual you will need a Skynet account.
|
||||||
|
Instructions to do so can be found [on the Create Skynet Account page](./create_account.md).
|
||||||
|
|
||||||
### Modern
|
### Modern
|
||||||
Modern involves using source control to version your site.
|
Modern involves using source control to version your site.
|
||||||
This is then leveraged to automatically deploy to your Skynet account/website.
|
This is then leveraged to automatically deploy to your Skynet account/website.
|
||||||
|
|
||||||
The core repo for this is [here][deploy_user].
|
The core repo for this is [here][deploy_user], it contains all teh required info to get it working.
|
||||||
If this does not suit your needs you can take a look at the [forks which cover different tools][deploy_user_forks].
|
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]: https://forgejo.skynet.ie/Skynet/deploy_user
|
||||||
[deploy_user_forks]: https://forgejo.skynet.ie/Skynet/deploy_user/forks
|
[deploy_user_forks]: https://forgejo.skynet.ie/Skynet/deploy_user/forks
|
||||||
|
|
||||||
### Manual
|
### Manual
|
||||||
## Login
|
#### Login
|
||||||
Once ye have [logged in](./create_ssh.md) you will be able to create a website on Skynet.
|
Once ye have [logged in](./create_ssh.md) you will be able to create a website on Skynet.
|
||||||
|
|
||||||
|
|
||||||
|
#### Create Files
|
||||||
In your home folder follow these commands to create the folder that can be used to host a website
|
In your home folder follow these commands to create the folder that can be used to host a website
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -39,6 +46,19 @@ chmod -R 755 ~/public_html
|
||||||
cd ~/public_html
|
cd ~/public_html
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In this directory you can create all the relevant files using ``nano`` or ``vim``.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# create/edit index.html usign nano
|
||||||
|
# this opens up a termial based text editor.
|
||||||
|
nano index.html
|
||||||
|
```
|
||||||
|
|
||||||
|
To exit ``nano`` you need to use ``[ctrl]+[x]`` keys.
|
||||||
|
|
||||||
|
#### Transfer files
|
||||||
|
If you already have the files locally you can copy them over using ``scp``, although it is recommended to do it graphically.
|
||||||
|
|
||||||
To transfer files graphically you can use these programs:
|
To transfer files graphically you can use these programs:
|
||||||
|
|
||||||
* [WinSCP][download_winscp]
|
* [WinSCP][download_winscp]
|
||||||
|
|
Loading…
Add table
Reference in a new issue