feat: add .env file for vegacapsule in the explorer app and instruction to setup explorer app with vegacapsule (#269)

This commit is contained in:
Daniel 2022-04-20 13:08:18 +02:00 committed by GitHub
parent f0fdecb490
commit 4c350a74d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -42,6 +42,17 @@ Similarly `nx e2e my-app` will execute the end-to-end tests with [Cypress](https
Visit the [Nx Documentation](https://nx.dev/getting-started/intro) to learn more.
# Vegacapsule
## Explorer
Follow the following steps to start using a local network with the Vega Explorer:
1. Prepare vegacapsule. Follow the [Vegacapsule instructions](https://github.com/vegaprotocol/vegacapsule#quick-start)
1. Build the explorer frontend application
1. Start the explorer frontend application with the `.env.vegacapsule` env file
1. Go to [http://localhost:3000](http://localhost:3000) in your browser
# 📑 License
[MIT](./LICENSE)

View File

@ -0,0 +1,7 @@
# App configuration variables
NX_CHAIN_EXPLORER_URL = "https://explorer.vega.trading/.netlify/functions/chain-explorer-api"
NX_TENDERMINT_URL = "http://localhost:26607/"
NX_TENDERMINT_WEBSOCKET_URL = "wss://localhost:26607/websocket"
NX_VEGA_URL = "http://localhost:3003/query"
NX_VEGA_ENV = 'CUSTOM'
NX_VEGA_REST = 'http://localhost:3029/rest'