Setup Development Environment

Issuer Demo Setup


  1. Clone didPass repository then checkout to development branch

git clone https://github.com/GDP-ADMIN/didPass.git
  1. Copy issuer-demo's .env.example as .env and Set Environment Variables in .env

Set Environment Variables


  1. Run Redis

  2. Fill REDIS_HOST, REDIS_PASSWORD, and REDIS_PORT value

REDIS_HOST="127.0.0.1"
REDIS_PASSWORD=""
REDIS_PORT="6379"
  1. Please ask developer team for ISSUER_PRIVATE_KEY

ISSUER_PRIVATE_KEY="<placeholder(Issuer Private Key)>"
  1. Run ngrok ngrok http 3000, copy forwarding url and fill NEXT_PUBLIC_URL value.

NEXT_PUBLIC_URL="<placeholder(public server url)>"

References


Last updated