feat: add .env file for vegacapsule in the explorer app and instruction to setup explorer app with vegacapsule (#269)
This commit is contained in:
parent
f0fdecb490
commit
4c350a74d0
11
README.md
11
README.md
@ -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)
|
||||
|
7
apps/explorer/.env.vegacapsule
Normal file
7
apps/explorer/.env.vegacapsule
Normal 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'
|
Loading…
Reference in New Issue
Block a user