Client side React components for Collective Service Project
Before you start, copy .env.example
as .env
and set the env variables.
# Start web app
docker-compose up
# Generate graphql files
yarn generate
# Build web app
yarn build
# Typescript check
yarn typecheck
# Eslint check
yarn eslint
# Check unused files
yarn check-unused
# Run tests
yarn test
- Staging
- Login to the VM.
# Update client and server cd ~/services/client git pull cd ~/services/server git pull # Update docker containers cd ~/services/ docker-compose up --build -d
- Login to the VM.
- Production
- The Github Actions deployment pipeline is triggered whenever changes are pushed to the branch
release
. - Requires approval from the administrator.
- These actions update the resources in AWS.
- The Github Actions deployment pipeline is triggered whenever changes are pushed to the branch