- Install server dependencies:
npm run server-deps
- Install client dependencies:
npm run client-deps
- Run server:
npm run server
- Run webclient / webapp: xxxxxx
- Have cyphernode running with the chain up-to-date
- Create
.env
file in the root of the project as
{
"cypherApi": "CYPHERAPI-KEY" (*), // https://gatekeeper:2009/v0
"h64": "H64-KEY",
"apiId": "APIID-KEY",
"apiKey": "APIKEY-KEY"
}
- Build image:
npm run docker-build-image
- Exec container:
npm run docker-run
- Open webapp on
http://localhost:3000/mempool
and loopback explorer onhttp://localhost:3000/explorer
- Have cyphernode running with the chain up-to-date
- Create
.env
file in the root of the project as:
{
"cypherApi": "CYPHERAPI-KEY" (*), // https://gatekeeper:2009/v0
"h64": "H64-KEY",
"apiId": "APIID-KEY",
"apiKey": "APIKEY-KEY"
}
- Build image:
npm run docker-build-image
- Up docker-compose configuration:
npm run docker-compose-up
- Open webapp on
https://mempool.localhost/mempool
and loopback explorer onhttps://mempool.localhost/explorer
-
(*) In .env.cypherApi file, use
127.0.0.1
outside docker andgatekeeper
inside docker. -
Cyphernode by default creates this 'subdomain':
cyphernode.localhost