Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 978 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 978 Bytes

solarmesh.cn

The solarmesh.cn website, built using Hugo and hosted on Netlify.

Build

To build and serve the site, you'll need the latest [LTS release][] of Node. Like Netlify, we use [nvm][], the Node Version Manager, to install and manage Node versions:

$ nvm install --lts

Setup

  1. Clone this repo.
  2. From a terminal window, change to the cloned repo directory.
  3. Get NPM packages and git submodules, including the the Docsy theme:
    $ npm install

Build or serve the site

To locally serve the site at localhost:1313 , run the following command:

$ npm run serve

To build and check links, run these commands:

$ npm run build
$ npm run check-links

You can also locally serve using Docker:

$ make docker-serve