|
|
il y a 7 ans | |
|---|---|---|
| .gitignore | il y a 7 ans | |
| README.md | il y a 7 ans | |
| admin_console.py | il y a 7 ans | |
| client_controller.py | il y a 7 ans | |
| connection.py | il y a 7 ans | |
| cool_query.py | il y a 7 ans | |
| create_new_key.py | il y a 7 ans | |
| create_new_stock.py | il y a 7 ans | |
| db_setup.py | il y a 7 ans | |
| debug.py | il y a 7 ans | |
| delete_ownable.py | il y a 7 ans | |
| delete_user.py | il y a 7 ans | |
| game.py | il y a 7 ans | |
| model.py | il y a 7 ans | |
| run_client.py | il y a 7 ans | |
| run_db_setup.py | il y a 7 ans | |
| run_server.py | il y a 7 ans | |
| server_controller.py | il y a 7 ans | |
| util.py | il y a 7 ans |
The server is intended to be run within a python 3.6 environment on the host specified in connection.py.
The client is intended to be compiled with
echo debug = False > debug.py &&\
python -OO -m PyInstaller run_client.py &&\
echo debug = True > debug.py
where pyinstaller can be installed using pip.
On the server you can install the required packages using pip:
pip3 install bottle requests
and start the server using
python3 -OO run_server.py