Comment on page
Website
Taking some notes regarding building a website.
First you may need to buy and host a domain. For example, hanzheteng.com
- To check domain status, you can use whois. This can provide you with some information, but not a service to host your own domain.
For the latest version (22.04) of Ubuntu system, you should be able to set up everything by following this official latest tutorial: Quick Start, Ubuntu Installation
For Ubuntu 20, you may encountered some errors in
gem install jekyll bundler
. To address this, just to install a previous version of jekyll. Either of the following way shall work.gem install jekyll -v 3.9.3
gem install jekyll --version="~> 4.2.0"
There are some issues with the rendering of Github Pages on the Github remote server. The webpages can build and render correctly in local environment, but not on the Internet after pushing to Github repo. Two things to change:
- In markdown source files (e.g.,
index.md
), change the keywordlayout
tolayouts
. This is may be a legacy issue. Reference: Stackoverflow question. - In the
_config.yml
file,baseurl
andurl
have to be set propely to a remote address. For example:
baseurl: "/"
url: "http://ucr-robotics.github.io"
Last modified 2mo ago