React components for IDMC website
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# Clone proxy server
git clone git@github.com:toggle-corp/simple-proxy.git idmc-website-proxyBefore you start, copy .env.template as .env and set the env variables.
# Start proxy
docker-compose upYou will need to update the .env file for your react application.