Spaces:
Sleeping
Sleeping
TheYoBots commited on
Commit ·
4717a9b
1
Parent(s): 9bfd226
Further edits
Browse files
README.md
CHANGED
|
@@ -35,11 +35,13 @@ python3 -m pip install -r requirements.txt
|
|
| 35 |
- Install virtualenv: `pip install virtualenv`.
|
| 36 |
- Setup virtualenv:
|
| 37 |
|
| 38 |
-
`
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
-
|
|
|
|
| 43 |
- Copy `config.yml.default` to `config.yml`.
|
| 44 |
- Edit the `config.yml` file to your liking by changing the supported [variants](https://github.com/TheYoBots/Lishogi-Bot/blob/master/config.yml.default#L36-L38), [timings](https://github.com/TheYoBots/Lishogi-Bot/blob/master/config.yml.default#L39-L45), [challenge modes](https://github.com/TheYoBots/Lishogi-Bot/blob/master/config.yml.default#L46-L48) and [incoming challenges](https://github.com/TheYoBots/Lishogi-Bot/blob/master/config.yml.default#L25-L35), so that it plays shogi the way you want it to.
|
| 45 |
|
|
|
|
| 35 |
- Install virtualenv: `pip install virtualenv`.
|
| 36 |
- Setup virtualenv:
|
| 37 |
|
| 38 |
+
```bash
|
| 39 |
+
virtualenv .venv -p python # if this fails you probably need to add Python to your PATH
|
| 40 |
|
| 41 |
+
./.venv/Scripts/activate # .\.venv\Scripts\activate should work in cmd in administator mode. This may not work on Windows, and in this case you need to execute "Set-ExecutionPolicy RemoteSigned" first and choose "Y" there (you may need to run Powershell as administrator). After you executed the script, change execution policy back with "Set-ExecutionPolicy Restricted" and pressing "Y")
|
| 42 |
|
| 43 |
+
pip install -r requirements.txt
|
| 44 |
+
```
|
| 45 |
- Copy `config.yml.default` to `config.yml`.
|
| 46 |
- Edit the `config.yml` file to your liking by changing the supported [variants](https://github.com/TheYoBots/Lishogi-Bot/blob/master/config.yml.default#L36-L38), [timings](https://github.com/TheYoBots/Lishogi-Bot/blob/master/config.yml.default#L39-L45), [challenge modes](https://github.com/TheYoBots/Lishogi-Bot/blob/master/config.yml.default#L46-L48) and [incoming challenges](https://github.com/TheYoBots/Lishogi-Bot/blob/master/config.yml.default#L25-L35), so that it plays shogi the way you want it to.
|
| 47 |
|