This repository has been archived by the owner on Dec 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Launch
Amos Chua edited this page Mar 5, 2021
·
9 revisions
Note: please see the setup page on how to setup your virtual environment prior to use.
Run the batch file start.bat
- Follow through the on-screen instructions.
- Note: It defaults to Option A: Using the virtual environment if you don't make a choice in 10 seconds
Note: If you would like the bot to restart itself on crashes, de-comment out lines 26-27 & 34-35.
- Add permissions for the script file.
- i.e.
chmod 755 setup.sh start.sh
-
setup.sh
will automatically create a virtual environment with all the right dependencies when it is run (./setup.sh
) - Note:
setup.sh
requirespip
and MySQL to be installed first! - Use either (i.e. MySQL or MariaDB), if you run into errors with setup.sh:
-
sudo apt-get install libmysqlclient-dev
or sudo apt-get install libmariadbclient-dev
-
- i.e.
- Run
- i.e.
./start.sh
- i.e.
Please see the setup page on how to setup your virtual environment prior to use.
- Activate the virtual environment using the following command:
call venv\scripts\activate.bat
- Note: You can deactivate the venv by using the command
deactivate
- Note: You can deactivate the venv by using the command
- Use the command
venv\scripts\python src/Main.py
to run
- Activate the virtual environment using the following command:
venv\scripts\activate
- Note: You can deactivate the venv by using the command
deactivate
- Note: You can deactivate the venv by using the command
- Use the command
venv\scripts\python src/Main.py
to run
Note: You will need to make sure that the global environment is set up such that the dependencies are all resolved.
python src/Main.py
A TEAM SPIRIT Project • SpiritMS • SpiritSuite • Spirit In-Game Command Guide