mirror of
https://github.com/adulau/mmdb-server.git
synced 2024-12-21 23:55:57 +00:00
Update README.md
Update README to work with poetry \o/
This commit is contained in:
parent
f055be4ac0
commit
696f3c6588
1 changed files with 5 additions and 3 deletions
|
@ -6,12 +6,14 @@ mmdb-server includes a free and open [GeoOpen-Country database](https://data.pub
|
|||
|
||||
# Installation
|
||||
|
||||
Python 3.8+ is required to run the mmdb-server with some [additional requirements](./REQUIREMENTS).
|
||||
Python 3.10+ is required to run the mmdb-server with poetry.
|
||||
|
||||
- `pip3 install -r REQUIREMENTS`
|
||||
- `curl -sSL https://install.python-poetry.org | python3 -`
|
||||
- Log out and Log in again
|
||||
- `poetry install`
|
||||
- `cp ./etc/server.conf.sample ./etc/server.conf`
|
||||
- `cd ./db; bash update.sh; cd ..` (to get the latest version of the GeoOpen database)
|
||||
- `cd bin; python3 server.py`
|
||||
- `poetry run serve`
|
||||
|
||||
# Usage
|
||||
|
||||
|
|
Loading…
Reference in a new issue