This repo builds the centrifuge.io website with Gatsby and Netlify.
NOTE: Please only branch off of, and merge into develop
. master
is reserved for production.
# install dependencies
npm install
# starts lambda and gatsby servers
npm run start
To see what layout elements are available on MDX pages, launch the site in dev mode and go to /mdxguide/
When adding a new lambda function to work on a feature, the lambda must be merged into develop
and then to master
before any usage of of the lambda function is implemented. This is due to during the gatsby build
step the lambda functions are called to pull in data, since the function is not callable the build completes and passes, its not avaiable during the build step.
Once your lambda function has been merged into develop
and master
then its okay to use the function during the build step.