‼️ NOTE! This repository has been merged into reclab monolithic repository and will no longer be maintained.
This app implements the Recover Laboratory website frontend.
Gatsby is used to populate the site with CMS data at build time. To achieve convenient re-deployments upon content changes, a webhook must be set-up for the CMS backend to be able to trigger re-deployment. The project is configured for Vercel static site hosting.
- Push changes to the
trunk
branch. Github runs tests for the newHEAD
. - Create a pull request to merge changes from
trunk
tomain
. The merge can be completed once all tests have passed. This triggers deployment to staging using the staging CMS, as well. - Publish a new release to deploy to production.
To develop and build this project, reclab-cms is required. For development, you should run the CMS on your local system. Clone the repository and follow the instructions therein.
Name | Description |
---|---|
CMS_URL |
URL for accessing the CMS both at build and run time. |
Launch the development environment (make sure you have the CMS up first):
npm start
Check linting (with auto-fix):
npm run lint
npm run lint:fix