From 696f3c6588556e731b69af11a3c11a7c34495f4c Mon Sep 17 00:00:00 2001 From: "Fafner [_KeyZee_]" Date: Mon, 30 Oct 2023 13:21:48 +0100 Subject: [PATCH] Update README.md Update README to work with poetry \o/ --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1819b1e..8eaf300 100644 --- a/README.md +++ b/README.md @@ -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