1 GitMSTwebsite


1.1 Options for faculty/student websites with campus domain (mst.edu) in the URL:

  1. https://web.mst.edu/~yourname (Standard HTML websites: campus is trying to remove all of these, so good luck getting one now.)
  2. Google sites (not a real static website, overly constrained, and not a professional url).
  3. https://yourname.git-pages.mst.edu (this guide)

1.1.1 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

  1. log into https://git.mst.edu in the web interface.

  2. In the web interface, create a group, named as you want your website named (e.g., yourname).

  3. 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’

  4. Clone the project to your local machine:
    $ git clone https://whateveryourrepourlis

  5. 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: GitMSTwebsite/sites-template.zip

  6. As in the template, create a folder called public/ in your root repo directory.

  7. 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.

  8. In the git repository: add, commit, push, double-check.

  9. Your website then automatically will appear at:
    https://yourname.git-pages.mst.edu