A template for a home page for students at the Institute for Informatics at the University of Oslo.
# Install live-server
npm i -g live-server
# In the top directory
live-server .
If you don't have npm
, you can get it by downloading NodeJS.
Check out this page to find out how to install it with a package manager on your system.
If you don't want to download NodeJS
for some reason, you can run any other HTTP-server, for example:
python3 -m http.server
Will run a HTTP-server at http://localhost:8000/
Every UiO student has access to a website hosted at https://folk.uio.no/
Follow this guide to put your website on https://folk.uio.no/<yourusername>
. The main idea is to place your websites files in the ~/www_docs/
directory of your UiO user and edit the permissions of the directory, so that it is displayed.
It is worth noting that websites hosted here often appear in google search results. If you wish to make sure that the website won't appear in any search engine results, include a robots.txt in your top directory. For the robots.txt
to block access to everything you can write it as such:
User-agent: *
Disallow: /
Another alternative for hosting your website is to put it on GitHub Pages.
To do that you can fork this repository and follow this guide to host it at https://<yourgithubusername>.github.io/
.