|
1 viikko sitten | |
---|---|---|
src | 9 kuukautta sitten | |
static/css | 8 kuukautta sitten | |
templates | 1 viikko sitten | |
.dockerignore | 9 kuukautta sitten | |
.gitignore | 9 kuukautta sitten | |
Cargo.lock | 9 kuukautta sitten | |
Cargo.toml | 9 kuukautta sitten | |
Dockerfile | 1 viikko sitten | |
README.md | 9 kuukautta sitten | |
docker-compose.example.yml | 9 kuukautta sitten | |
docker-compose.yml | 9 kuukautta sitten | |
dummy.rs | 9 kuukautta sitten |
A simple web interface for searching the Wownero blockchain.
The fastest way to get it up and running to test it locally is to use the pre-made Docker container:
export DAEMON_URI=http://so.wow.candy.surf:34568
docker run -d \
--name wownero-explorer \
--rm \
-p 80:8000 \
-e DAEMON_URI=$DAEMON_URI \
lalanza808/wownero-explorer:latest
You could also just use docker-compose
, though it will download a reverse proxy image:
export DAEMON_URI=http://so.wow.candy.surf:34568
docker-compose up -d
Navigate to http://localhost/ to browse the explorer.
Alternatively, if you'd like to build/run using native Rust tools, follow these steps:
git clone https://git.wownero.com/lza_menace/wownero-explorer && cd wownero-explorer
rustup override set nightly
DAEMON_URI
environment variable: export DAEMON_URI=http://so.wow.candy.surf:34568
cargo run
I'm using Traefik as a reverse proxy in order to handle automatic TLS certification with Let's Encrypt and to avoid manage Nginx configs. If you want to run the full installation you will need a registered domain and control of DNS records.
I don't feel like paying for a cluster for this simple app so I'm using docker-compose
on a single box that I can recreate easily and often to avoid config drift.
docker-compose.prod.yml
as a copy of docker-compose.yml
wownero-explorer
service${ACME_EMAIL}
either as hardcoded string or pass as environment variabledocker-compose -f docker-compose.prod.yml up -d
Ask around in IRC: https://webchat.freenode.net/?room=#wownero