From 419931efdcc46a5d9492f43fb15a38e7267a3083 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Wed, 27 Sep 2023 17:47:16 +0100 Subject: [PATCH] feat: added part about gitlab website --- src/skynet/1_setup.md | 103 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 89 insertions(+), 14 deletions(-) diff --git a/src/skynet/1_setup.md b/src/skynet/1_setup.md index 78cbbb8..8605fb1 100644 --- a/src/skynet/1_setup.md +++ b/src/skynet/1_setup.md @@ -148,20 +148,6 @@ Now to learn //how// to access them! ---------------------------------------------------------------------------- -## Gitlab - ----------------------------------------------------------------------------- - -1. Go to <> -2. Login with ``username`` and ``password`` -3. Done - ----------------------------------------------------------------------------- - -In a future session we will discuss Gitlab (and git in general) more. - ----------------------------------------------------------------------------- - ## Email ---------------------------------------------------------------------------- @@ -282,6 +268,92 @@ If ye are using linux you can use put ``sftp://{username}@skynet.skynet.ie`` (or ---------------------------------------------------------------------------- +## Gitlab + +---------------------------------------------------------------------------- + +As part of your Skynet account you have access to our Gitlab Server. + +---------------------------------------------------------------------------- + +1. Go to <> +2. Login with ``username`` and ``password`` +3. Done + +---------------------------------------------------------------------------- + +## Gitlab Website + +---------------------------------------------------------------------------- + +its possible to have a website on gitlab. + +---------------------------------------------------------------------------- + +Powered by source control and CI/CD pipelines (devops) + +---------------------------------------------------------------------------- + +Go to the ``Dashboard`` > ``Groups`` > ``New Group`` + +---------------------------------------------------------------------------- + +Name the group Personal or College or something like that. + +---------------------------------------------------------------------------- + +If you name the group the same as your username then your username will be part of the URL. + +---------------------------------------------------------------------------- + +Inside that Group create a ``New Project``, name it whatever ye want. + +---------------------------------------------------------------------------- + +``Create from Template`` > Any one that starts with ``Pages`` (I recommend ``pages/html``) + +---------------------------------------------------------------------------- + +It will appear on the screen in a moment after clicking. + +---------------------------------------------------------------------------- + +Go up to Edit > Web IDE > Change something on the index.html + +---------------------------------------------------------------------------- + +``[ctrl] + [shift] + [g]`` (or click the icon on the left), enter a msg and ``commit to master``. + +---------------------------------------------------------------------------- + +Your website will now be build and deployed. + +---------------------------------------------------------------------------- + +Woot!!! Devops!!! + +---------------------------------------------------------------------------- + +To get teh link is a tad annoying. + +---------------------------------------------------------------------------- + +Go to ``Settings`` (bottom left of repo page) > Pages + +---------------------------------------------------------------------------- + +Open the link in a new tab and marvel at yer creation. + +---------------------------------------------------------------------------- + +If you go back and commit new changes they will show up as well. + +---------------------------------------------------------------------------- + +In a future session we will discuss Gitlab (and git in general) more. + +---------------------------------------------------------------------------- + Here completes the rough introduction to Skynet and creating websites. ---------------------------------------------------------------------------- @@ -292,3 +364,6 @@ If ye have any questions/ideas feel free to ask. If ye want to take a deeper look into server administration feel free to ask. +---------------------------------------------------------------------------- + +Skynet team is always open to newcomers!