Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.54 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.54 KB

X-lab Official Website

Official website of X-lab open laboratory, you can view the site on http://www.x-lab.info.

avatar

Prerequisites

  • Software: Git, and Hugo. As an example of working configuration:
$ git --version
$ git version 2.23.0
$ hugo version
$ Hugo Static Site Generator v0.72.0-8A7EF3CF/extended darwin/amd64 BuildDate: 2020-05-31T12:12:33Z
  • Hardware: 2 CPUs, 8GB memory RAM.

Getting started

Make sure that you have installed Git and Hugo, in particular, you must install Hugo with its extended_0.65+ version. And then set

Steps:

  1. Clone this project
$ git clone git@github.com:X-lab2017/xlab-website.git
  1. Go to the project folder
$ cd xlab-website
  1. Run the following command:
$ rm -r themes/academic/
$ git submodule update --init --recursive
$ hugo server

The site will be ready after a while in http://localhost:1313.

Support

If you have any questions or feature requests, please feel free to submit an issue.

For developers, the Git is necessary, but the Hugo is not necessary if you do not want to view the site locally or generate some pages automatically, follow our Contributing Guide will undoubtedly lead you making changes to our site!