From 7b87b40d2ab0b30377f001618d614db206f851f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=A6=8A=20helloyanis?= Date: Mon, 19 May 2025 11:40:05 +0200 Subject: [PATCH] Better docs --- .gitignore | 2 ++ README.md | 4 +++- requirements.txt | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6c00762 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +__pycache__/ +player.db \ No newline at end of file diff --git a/README.md b/README.md index 77df7d6..b64f34c 100644 --- a/README.md +++ b/README.md @@ -99,10 +99,12 @@ Note that MAC uses `python3`. Code examples in this document will use the defaul Open command on Windows (MAC open terminal). Type `ipconfig` (MAC `ifconfig`), and obtain your IPV4 address. This assumes that you are connected to a WIFI, and it should start with 192 or 172. -Open the `config.py` of the private server, and change the `IP` accordingly. +Open the `config_old.py` of the private server, and change the `IP` accordingly. Type `cmd` in the file directory on the top of the file explorer, and press enter. A command prompt will be opened for that directory. +Type `pip install -r requirements.txt` to install all the dependencies. + Type `python 7001.py` to start the server. If an error pops up, resolve it now – did you install all the dependencies? Is the IP correct? ### Android (Harder) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b0f9e45 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +flask +bcrypt +pycryptodome +requests \ No newline at end of file