seismo-learn / website

Source code for the seismo-learn.org website
https://seismo-learn.org
0 stars 0 forks source link

website

Deploy

本项目是 seismo-learn 主页 的网站源码。

构建网站

  1. 安装 Hugo

  2. 下载网站源码

    # 克隆源码,并进入源码目录
    $ git clone https://github.com/seismo-learn/website.git
    $ cd website
  3. 构建网站

    直接构建网站(生成的网站位于 public 目录下):

    $ hugo

    也可以生成本地 HTTP 服务器,然后在浏览器里打开 http://localhost:1313 来预览网站

    $ hugo server