Eren Yilmaz 5e451a622d Prevent gifting into a negative balance | 4 years ago | |
---|---|---|
assets | 6 years ago | |
db_setup | 4 years ago | |
doc | 4 years ago | |
img | 4 years ago | |
jobs | 4 years ago | |
lib | 4 years ago | |
notes | 4 years ago | |
test | 4 years ago | |
.gitignore | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
client_controller.py | 4 years ago | |
connection.py | 4 years ago | |
create_new_stock.py | 4 years ago | |
debug.py | 4 years ago | |
delete_ownable.py | 6 years ago | |
delete_user.py | 6 years ago | |
drop_old_sessions.py | 6 years ago | |
game.py | 4 years ago | |
hash_all_users_passwords.py | 6 years ago | |
model.py | 4 years ago | |
my_types.py | 4 years ago | |
publish_news_item.py | 6 years ago | |
recreate_db.py | 4 years ago | |
reset_bank.py | 6 years ago | |
routes.py | 4 years ago | |
run_client.py | 4 years ago | |
run_server.py | 4 years ago | |
server_controller.py | 4 years ago | |
util.py | 4 years ago | |
version.py | 4 years ago |
You can either
You can clone this repository and use python (3.6 recommended) to execute the client.
Make sure you set the debug
flag in debug.py
to False
, otherwise you will not connect to the server.
If you know python and want to develop any cool features for you personal client, feel free to fork this repository and create a pull request.
The server is intended to be run within a python 3.6 environment on the host specified in connection.py
.
On the server you can install the required packages using pip:
pip3 install bottle requests tabulate GitPython
and start the server using
python3 -O run_server.py
The client is intended to be compiled with
make compile
and requires pyinstaller
which can be installed using pip.
If there is a UnicodeDecodeError you may try this fix:
https://stackoverflow.com/questions/47692960/error-when-using-pyinstaller-unicodedecodeerror-utf-8-codec-cant-decode-byt