Microservice sub-repository for injik/did-core
To develop, npm
must be installed on your development machine.
Also, project id of Infura is needed for both developing and running it.
You must do export INFURA_PID=${PROJECT_ID}
to run this.
- Install dependencies:
npm install; git restore package*.json
- Build source
npm run build
- Build and run
npm run start
As Injik/did-core is designed to use as a Kubernetes pod, it's packaged as a Docker image.
You can find and use it in Docker hub
Here's example of how to run a container:
docker run -d \
-p 60071:7771 \
-h 0.0.0.0 \
-e INFURA_PID=${YOUR_INFURA_PROJECT_ID} \
haeramkeem/did-core