-
Notifications
You must be signed in to change notification settings - Fork 1
source_guide
Matteo edited this page Apr 7, 2023
·
5 revisions
MSCHAT is an open-source software, you can read, download, edit and share the source code freely (see LICENCE).
If you want to use the source code you have to follow this procedure.
How to create a virtual enviroment
- Open the command prompt
- Run
python3 -m venv /path/to/new/virtual/environment
- Go to src folder on GitHub
- Download all the files
- Put them in your virtual enviroment root folder
- Go to server folder on GitHub
- Download all .txt files (check this this list, but ignore the .exe files)
- Put them in the same folder of server.py
You can find here the list of modules you need to download
- Open the command prompt
- Run
start activate.bat
from the "Scripts" folder - Install each module using
pip install ModuleName==Version
- Put mycryptfunc.py and mydonut.py in
Lib/site-packages
folder - Find "pydispo" module folder and replace "pydispo.py" with the one you downloaded before
- Open the command prompt
- Run
start activate.bat
from the "Scripts" folder - Run
python client.py
orpython server.py