https://github.com/hypersign-protocol/explorer
A webportal which acts as a view of core (the identity network). It gives visibility of dids and schemas.
https://github.com/hypersign-protocol/explorer
Last synced: 3 months ago
JSON representation
A webportal which acts as a view of core (the identity network). It gives visibility of dids and schemas.
- Host: GitHub
- URL: https://github.com/hypersign-protocol/explorer
- Owner: hypersign-protocol
- Created: 2020-09-06T02:08:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-26T04:10:16.000Z (over 3 years ago)
- Last Synced: 2024-04-01T16:17:11.466Z (about 2 years ago)
- Language: Vue
- Homepage:
- Size: 9.88 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Explorer
## Manual
### Install
If do not want to setup manul, then skip to the docker [section](#or-simply-use-docker-container).
```bash
git clone https://github.com/hypersign-protocol/explorer #Pull the repo
cd explorer
npm i
```
### Build & Run
#### Prod
```bash
npm run build
npm run serve
```
Make sure you have `.env` file.
#### Dev
```bash
npm run dev
```
Make sure you have `.env.staging` file.
## Using docker container
### Build
```bash
docker build -t hypersignprotocol/explorer:v1.0 .
```
### Pull
```bash
docker pull hypersignprotocol/explorer:v1.0
```
### Run
```bash
docker run -it -p 5001:80 hypersignprotocol/explorer:test
```
### Enviroments Vars
* `VUE_APP_TITLE`: Title of application
* `VUE_APP_VERSION`: Version of application
* `VUE_APP_STUDIO_BASE_URL`: Base url of studio app
* `VUE_APP_NODE_SERVER_BASE_URL`: Base url of HS blockchain node
* `VUE_APP_RECAPTCHA_SITE_KEY`: Recaptcha site key
```bash
docker run -it \
--env VUE_APP_TITLE="Identity Explorer" \
--env VUE_APP_VERSION=v1.0 \
--env VUE_APP_STUDIO_BASE_URL=http://localhost:9001/ \
--env VUE_APP_NODE_SERVER_BASE_URL=http://localhost:5000/ \
--env VUE_APP_RECAPTCHA_SITE_KEY="re captcha site key" \
-p 5001:80 hypersignprotocol/explorer:v1.0
```
Note: If you do not pass `--env` options then all envs are taken from `.env` file.
--
* On success full run, the app will run on [`http://localhost:5001/`]().
* [Ref](https://shekhargulati.com/2019/01/18/dockerizing-a-vue-js-application/)