feat: added part about gitlab website
This commit is contained in:
parent
5c4a61542c
commit
419931efdc
1 changed files with 89 additions and 14 deletions
|
@ -148,20 +148,6 @@ Now to learn //how// to access them!
|
|||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
## Gitlab
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
1. Go to <<https://gitlab.skynet.ie>>
|
||||
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 <<https://gitlab.skynet.ie>>
|
||||
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!
|
||||
|
|
Loading…
Reference in a new issue