An API-driven, fully responsive web site that provides potential BC Park visitors with information on provincial parks, conservation areas, and ecological reserves. Content on these pages includes descriptions, activities, amenities, park status, etc.
This site is built using Strapi CMS, a headless CMS, and Gatsby; an open-source static site generator built on top of Node.js using React and GraphQL.
The application can be accessed using the links below:
Running a local environment allows users to quickly see changes without waiting for a full build (10+ minutes). The local environment setup described below uses Gatsby JS to render the site frontend locally, and you can choose to set up a local Strapi CMS instance or use an external Strapi CMS instance (TEST or PROD) as the datasource.
IMPORTANT: this process is not currently working on Windows without virtualisation. It is known to work on OS X, and inside a Linux container running in VMWare Player.
-
Ensure you have a command-line shell (like PowerShell, iTerm or the terminal integrated with Visual Studio Code) and Node JS 14 installed (the node version must be 14 - newer versions do not work).
-
If you're running Strapi locally, you'll need to have Docker installed.
-
Create a fork of the repo from https://github.com/bcgov/bcparks.ca
-
Clone your forked git repository into a local directory
Each developer should create a feature branch for work on their forked repo that relates to the associated JIRA issue. (example: username/bcparks.ca/CM-123-brief-description
Ensure you've added the upstream repo on your local:
git remote add upstream [email protected]:bcgov/bcparks.ca.git
Prior to creating a PR, it's good practice to sync your fork with the upstream repo. git checkout main
and then git pull upstream main
followed by checking out your branch and then running git rebase main
Alternatively, you could do this in GitHub, and use the 'Sync fork' button in your forked repo, and then pull it into your local.
For full details on how to create a PR, refer to the instructions on Confluence.
Detailed instructions on how to perform common tasks in the CMS can be found on Confluence.
Most communications are handled through the BC Parks Service Transformation Microsoft Teams instance. Please reach out to your Project Manager for access.
BCP Web Team Jira Board: https://bcparksdigital.atlassian.net/jira/software/projects/BWT/boards/5
Confluence: https://apps.nrs.gov.bc.ca/int/confluence/pages/viewpage.action?pageId=109185900
Deployment and content sync information can be found on the Confluence page.