mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2024-11-16 17:07:36 +00:00
Update the geoip package location
This commit is contained in:
parent
ddc448e90c
commit
d44cea7e7c
1 changed files with 2 additions and 2 deletions
|
@ -18,12 +18,12 @@ Source code of [https://xmr.ditatompel.com](https://xmr.ditatompel.com), a websi
|
||||||
|
|
||||||
### For initial server setup:
|
### For initial server setup:
|
||||||
|
|
||||||
1. Download [GeoIP Database](https://dev.maxmind.com/geoip/geoip2/geolite2/) and place it to `./assets/geoip`. (see [./internal/repo/geoip.go](./internal/repo/geoip.go)).
|
1. Download [GeoIP Database](https://dev.maxmind.com/geoip/geoip2/geolite2/) and place it to `./assets/geoip`. (see [./internal/repo/geoip.go](./internal/geo/ip.go)).
|
||||||
2. Copy `.env.example` to `.env` and edit it to match with server environment.
|
2. Copy `.env.example` to `.env` and edit it to match with server environment.
|
||||||
3. Build the binary with `make build`.
|
3. Build the binary with `make build`.
|
||||||
4. Run the service with `./bin/xmr-nodes-server-linux-<YOUR_CPU_ARCH> serve`.
|
4. Run the service with `./bin/xmr-nodes-server-linux-<YOUR_CPU_ARCH> serve`.
|
||||||
|
|
||||||
To create admin user (for creating prober API key from Web-UI, execute `./bin/xmr-nodes-server-linux-<YOUR_CPU_ARCH> admin create`).
|
To create admin user (for creating proberAPI key from Web-UI, execute `./bin/xmr-nodes-server-linux-<YOUR_CPU_ARCH> admin create`).
|
||||||
|
|
||||||
Systemd example: [./tools/resources/init/xmr-nodes-server.service](./tools/resources/init/xmr-nodes-server.service).
|
Systemd example: [./tools/resources/init/xmr-nodes-server.service](./tools/resources/init/xmr-nodes-server.service).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue