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
release
.