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.
- Links
- Getting Started
- Commit/branching
- Application walkthrough
- Communication Channels
- Additional Documentation
- Deployment
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 18 installed.
-
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 git@github.com: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 detailed instructions on how to perform common tasks in the CMS, contact Leah Wilcock, Manager of Information Services.
Most communications are handled through the BC Parks Service Transformation Microsoft Teams instance. Please reach out to your Project Manager for access.
Coming soon.
For deployment and content sync information, contact Leah Wilcock, Manager of Information Services.