This repo contains the code for flows.cibic.bike site which is part of the CiBiC Project.
Clone into this repo on your local machine and run yarn install
to download and install the required packages.
All project dependencies can be found in package.json
Use yarn start
to build and run a local development version of the site.
Use yarn build
to create a production ready version of the site in ./build
directory of the project.
This repo utilizes GitActions to deploy the site to https://flows.cibic.bike. This automation can be found in .github/workflows.
Automatic deployment will run on ANY push to main
Its highly advised to use another branch to develop on and then use a PR to merge changes into main.
The production site is hosted in an S3 bucket that is distributed with CloudFront.
Secret Name | Secret Value |
---|---|
AWS_S3_BUCKET | The name of the S3 bucket for deployment |
AWS_ACCESS_KEY_ID | An Access Key for the IAM User |
AWS_SECRET_ACCESS_KEY | The Access Key Secret for the IAM User |
DISTRIBUTION | The CloudFront Distribution ID for a cache invalidation |
This project was bootstrapped with Create React App.