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