Statements | Branches | Functions | Lines |
---|---|---|---|
Front-end repository for Certification Service integration
npm install
The 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.local
and override the REACT_APP_BASE_URL
file (.env.local
is ignored by git)
REACT_APP_BASE_URL=http://localhost:8080 npm start
.....more overrides
npm start
npm run build
# run the build
serve -s build
npm run build:production
# run the build
serve -s build
NOTE: from the root of the project run all the docker-files scripts
./docker-files/run.sh
./docker-files/push.sh <<docker-registry>>