Skip to content

OnlineJudge-RS/xlab-website

 
 

Repository files navigation

X-lab Official Website

Official website of X-lab open laboratory, you can view the site on https://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 [email protected]: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 https://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!

Releases

No releases published

Packages

No packages published

Languages

  • Shell 48.4%
  • TeX 43.5%
  • HTML 8.1%