pnpm start
launches the app in development mode at http://localhost:3000pnpm test
launches the test runner in the interactive watch modepnpm run serve
serves the static assets from thebuild
directorypnpm run build
builds the app into thebuild
directory- compatible with these browsers.
- bundles React in production mode and optimizes the build for the best performance:
- compatible with these browsers.
Install Redux Devtools Chrome Extension Install Node.js LTS 10.14.1 using nvm and run
cp -p .env.development .env
npm install -g pnpm
pnpm install
pnpm start
Make sure you followed the instructions to have a Dockerized setup for the clin proxy api services: https://github.com/cr-ste-justine/clin-proxy-api#dockerized-version
Then, run:
cp env.docker.development .env
docker-compose -f docker-compose-docker-local.yml up -d
To stop, run:
docker-compose -f docker-compose-docker-local.yml down
-
Follow the instructions for a production setup below.
-
Follow the instructions to have a running external proxy (if you don't want to launch all the services the external proxy points to, you can remove entries in its external-proxy.conf configuration file): https://github.com/cr-ste-justine/clin-external-proxy
cp -p docker.env .env
Fill in any missing secret (ignore the certificate entries, they are no longer needed).
Then, type:
./apply.sh
We are transitioning toward a gitops workflow.
The current procedure is as follows:
-
Make sure you increment the version number in package.json and get your changes merged in dev.
-
Make any orchestration modification you need to make in docker-compose.yml (including changing the image version) and get it merged in dev.
-
Update the repo dev branch on workflow and run:
./apply.sh