example of aliases added to readme

This commit is contained in:
moneroexamples 2017-05-04 14:28:55 +08:00
parent e7d94a133f
commit 461f6ab47f
1 changed files with 9 additions and 0 deletions

View File

@ -181,6 +181,15 @@ xmrblocks, start Onion Monero Blockchain Explorer:
monero address string
```
Example usage, defined as bash aliases.
```bash
alias xmrblockstestnet='~/onion-monero-blockchain-explorer/build/xmrblocks -t --port 8082 --no-blocks-on-index 24 --mainnet-url "http://139.162.32.245:8081" --enable-block-cache=1 --enable-tx-cache=1 --enable-mempool-cache=1 --show-cache-times=1 --enable-pusher'
alias xmrblocksmainnet='~/onion-monero-blockchain-explorer/build/xmrblocks --port 8081 --no-blocks-on-index 49 --testnet-url "http://139.162.32.245:8082" --enable-block-cache=1 --enable-tx-cache=1 --enable-mempool-cache=1 --show-cache-times=1 --enable-pusher'
```
These are explorer commands used for http://139.162.32.245:8081/ and http://139.162.32.245:8082/, respectively.
## Enable SSL (https)
By default, the explorer does not use ssl. But it has such a functionality.