GitMSTwebsite
____________________________________________________
Options for faculty/student websites with campus domain (mst.edu) in the URL:
- https://web.mst.edu/~yourname (Standard HTML websites: campus is trying to remove all of these, so good luck getting one now.)
- Google sites (not a real static website, overly constrained, and not a professional url).
- https://yourname.git-pages.mst.edu (this guide)
Gitlab-pages on git.mst.edu
I find that hosting a static HTML site with Gitlab is easier and more convenient than using rsync with a traditional server, for example.
I have outlined the steps to get your basic HTML website on https://git.mst.edu
0a. Watch this:
https://www.youtube.com/watch?v=TWqh9MtT4Bg
0b. Read more if you want:
https://git.mst.edu/help/user/project/pages/index.md
- log into https://git.mst.edu in the web interface.
- In the web interface, create a group, named as you want your website named (e.g., yourname).
- In the web interface, create a git project/repo within that group called the same as the group, e.g., 'yourname.git-pages.mst.edu'
- Clone the project to your local machine:
$ git clone https://whateveryourrepourlis
- Copy a template .gitlab-ci.yml file into your root repo directory.
There is a Gitlab-given template, and I have attached the base/root of my Git repository, including that file: ./sites-template.zip
- As in the template, create a folder called public/ in your root repo directory.
- Copy your website files (at minimum this means public/index.html directory (string case matters), just like it were a normal web server public folder.
- In the git repository: add, commit, push, double-check.
- Your website then automatically will appear at:
https://yourname.git-pages.mst.edu
Backlinks: index:ITextras