| Statements | Branches | Functions | Lines |
|---|---|---|---|
Front-end repository for Certification Service integration
npm installThe default API endpoint is https://dapps-certification.scdev.aws.iohkdev.io/ found in ./.env
To override the API endpoint you have two options:
-
A) Run with modified env var
REACT_APP_BASE_URL=<your url> npm start.# Example using localhost:8080 REACT_APP_BASE_URL=http://localhost:8080 npm start -
B) Create
.env.localand override theREACT_APP_BASE_URLfile (.env.localis ignored by git)REACT_APP_BASE_URL=http://localhost:8080 npm start .....more overrides
npm startnpm run build
# run the build
serve -s buildnpm run build:production
# run the build
serve -s buildNOTE: from the root of the project run all the docker-files scripts
./docker-files/run.sh./docker-files/push.sh <<docker-registry>>