You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alexis Hernandez
f67d7831f0
|
6 years ago | |
---|---|---|
.. | ||
app | 6 years ago | |
conf | 6 years ago | |
project | 6 years ago | |
test | 6 years ago | |
.gitignore | 7 years ago | |
README.md | 6 years ago | |
build.sbt | 6 years ago |
README.md
XSN Block Explorer - Server
Run
-
We need the xsn rpc server running, download the latest one from xsn releases, then, start the rpc server with:
bin/xsnd -txindex -rpcport=51473 -rpcuser=dummy -rpcpassword=replaceme
-
Edit the application.conf.
-
In case you modified the parameters to start the xsn rpc server, update the credentials.
-
Set the credentials to access a postgres database.
- Run the application with:
sbt run
Test
Run the sbt test
command to execute the tests.
In case of failed tests, verify that:
- The docker remote API is enabled (this command must succeed
curl localhost:4243/containers/json
on linux). - Try running
DOCKER_HOST=localhost:4243 sbt test
instead.