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
|
||||
* `python3` - Obviously
|
||||
|
||||
### Python modules
|
||||
* `discord.py` - Discord bot functionality
|
||||
* `pytest` - Testing
|
||||
* `schema` - File format validation
|
||||
* `pytest-cov` - Code coverage testing
|
||||
* `venv` - Used for the python virtual env, specs in `requirements.txt`
|
||||
|
||||
## Config
|
||||
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 -e
|
||||
|
||||
source .venv/bin/activate
|
||||
|
||||
while python matchy.py
|
||||
do
|
||||
git pull
|
||||
python -m pip install -r requirements.txt
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue