Website for MOC and OpenInfra Labs
This is the public repo to mantain the OpenInfra Labs website at openinfralabs.org.
Overview
openinfralabs.org is built using starter template, based on Gatsby and Netlify CMS.
It follows the JAMstack architecture by using Git as a single source of truth, and Netlify for continuous deployment, and CDN distribution.
Prerequisites
- Node (v8.2.0 or higher)
- Gatsby CLI
Setup
Install yarn on your system: https://yarnpkg.com/en/docs/install
Clone repo
$ git clone https://gitlab.com/open-infrastructure-labs/openinfralabs-website.git
$ yarn
Available scripts
build
Build the static files into the public
folder.
Usage
$ yarn build
clean
Runs gatsby clean
command.
Usage
yarn clean
develop
or start
Runs the clean
script and starts the gatsby develop server using the command gatsby develop
.
Usage
yarn develop
format
Formats code and docs according to our style guidelines using prettier
Usage
yarn format
Merge Requests
To request changes, submit an issue or submit a merge request.