mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-03-14 17:56:35 -04:00
add some simple docs
This commit is contained in:
parent
76b5da9790
commit
a2b3d3a385
1
Makefile
1
Makefile
@ -1,6 +1,7 @@
|
||||
setup:
|
||||
python3 -m venv .venv
|
||||
.venv/bin/pip install -r requirements.txt
|
||||
mkdir data
|
||||
wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb -P data
|
||||
|
||||
up:
|
||||
|
33
README.md
33
README.md
@ -1,3 +1,34 @@
|
||||
# monero.fail
|
||||
|
||||
Monero node tracker
|
||||
Monero node tracker
|
||||
|
||||
## Setup
|
||||
|
||||
Tools you will need:
|
||||
* Docker # apt-get install docker.io
|
||||
* docker-compose # apt-get install docker-compose
|
||||
* python3 (linux os will have this)
|
||||
* python3-venv # apt-get install python3-venv
|
||||
|
||||
### Development
|
||||
|
||||
I have provided a `Makefile` with some helpful stuff...make sure to install `make` to use it.
|
||||
|
||||
The map portion of the service requires the GeoLite2 db...the `make setup` command fetches a copy via `wget`.
|
||||
|
||||
```
|
||||
# install python virtual environment and install application dependencies
|
||||
make setup
|
||||
|
||||
# setup config
|
||||
cp xmrnodes/config.example.py xmrnodes/config.py
|
||||
vim xmrnodes/config.py
|
||||
|
||||
# run services (tor, i2p, etc)
|
||||
make up
|
||||
|
||||
# run development server
|
||||
make dev
|
||||
|
||||
# access at http://127.0.0.1:5000
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user