A simple website for LNCM, using Gatsby.
When using https://lncm.github.io
to serve the static site, Github requires the generated HTML to be published to the master
branch, so we are using source
as the main source code branch. (More info).
Clone the (default) source
branch. Ensure you have nodejs 8+ installed, and run npm i
to install deps. Then start the development server with npm start
.
Add Images / Markdown files in the src/data
directory (or in pages
for new root pages). Markdown files should have the data specified (see existing files for example).
To generate the static HTML, run npm run build
. Use npm run serve
to test the build.
If you run into an error when building, try rm -rf .cache
.
Serve the generated public
directory from anywhere (note: additional config required for non-root domain).
You can use npm run deploy
, which will push the contents of public
to the master
branch on Github.
See issues for TODOs