Update the run.sh and README for using venv
This commit is contained in:
parent
cfc36d1689
commit
622e15c911
2 changed files with 4 additions and 6 deletions
|
@ -14,12 +14,7 @@ Only usable by `OWNER` users, reloads the config and syncs commands, or closes d
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
* `python3` - Obviously
|
* `python3` - Obviously
|
||||||
|
* `venv` - Used for the python virtual env, specs in `requirements.txt`
|
||||||
### Python modules
|
|
||||||
* `discord.py` - Discord bot functionality
|
|
||||||
* `pytest` - Testing
|
|
||||||
* `schema` - File format validation
|
|
||||||
* `pytest-cov` - Code coverage testing
|
|
||||||
|
|
||||||
## Config
|
## Config
|
||||||
Matchy is configured by a `config.json` file that takes this format:
|
Matchy is configured by a `config.json` file that takes this format:
|
||||||
|
|
3
run.sh
3
run.sh
|
@ -2,7 +2,10 @@
|
||||||
set -x
|
set -x
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
while python matchy.py
|
while python matchy.py
|
||||||
do
|
do
|
||||||
git pull
|
git pull
|
||||||
|
python -m pip install -r requirements.txt
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue