项目作者: decentralized-identity

项目描述 :
Frontend web UI for Universal Resolver.
高级语言: JavaScript
项目地址: git://github.com/decentralized-identity/universal-resolver-frontend.git
创建时间: 2018-02-14T10:27:38Z
项目社区:https://github.com/decentralized-identity/universal-resolver-frontend

开源协议:Apache License 2.0

下载


Frontend for DIF Universal Resolver

See https://github.com/decentralized-identity/universal-resolver/

Running the Frontend for the Universal Resolver

Prepare

Install all dependencies

  1. npm install

Running in Dev

Following command will run the frontend on your local machine at http://localhost:7081/

  1. npm run dev

Running in Prod

Production build and creating & runnig a docker container. The frontend will be accessible at http://localhost:80/

  1. npm run build
  2. docker build -f ./docker/Dockerfile . -t universalresolver/universal-resolver-frontend
  3. docker run -it -p 7081:7081 -e BACKEND_URL="http://localhost:8080" universalresolver/universal-resolver-frontend