mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Fixed description of activating venv (#22)
Add 'source' to the venv activate command in the readme `source` was picked over `.` to conform to the python recommendation (https://docs.python.org/3/library/venv.html#module-venv). This patch also adds the `egg-info` you get when building to the gitignore.
This commit is contained in:
parent
0b606f02fa
commit
35c3fa205d
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@ build/
|
|||||||
.env
|
.env
|
||||||
.vscode
|
.vscode
|
||||||
ilias_cookies.txt
|
ilias_cookies.txt
|
||||||
|
PFERD.egg-info/
|
||||||
|
|
||||||
# PyInstaller
|
# PyInstaller
|
||||||
sync_url.spec
|
sync_url.spec
|
||||||
|
@ -59,7 +59,7 @@ A full example setup and initial use could look like:
|
|||||||
$ mkdir Vorlesungen
|
$ mkdir Vorlesungen
|
||||||
$ cd Vorlesungen
|
$ cd Vorlesungen
|
||||||
$ python3 -m venv .venv
|
$ python3 -m venv .venv
|
||||||
$ .venv/bin/activate
|
$ source .venv/bin/activate
|
||||||
$ pip install git+https://github.com/Garmelon/PFERD@v2.5.3
|
$ pip install git+https://github.com/Garmelon/PFERD@v2.5.3
|
||||||
$ curl -O https://raw.githubusercontent.com/Garmelon/PFERD/v2.5.3/example_config.py
|
$ curl -O https://raw.githubusercontent.com/Garmelon/PFERD/v2.5.3/example_config.py
|
||||||
$ python3 example_config.py
|
$ python3 example_config.py
|
||||||
@ -69,7 +69,7 @@ $ deactivate
|
|||||||
Subsequent runs of the program might look like:
|
Subsequent runs of the program might look like:
|
||||||
```
|
```
|
||||||
$ cd Vorlesungen
|
$ cd Vorlesungen
|
||||||
$ .venv/bin/activate
|
$ source .venv/bin/activate
|
||||||
$ python3 example_config.py
|
$ python3 example_config.py
|
||||||
$ deactivate
|
$ deactivate
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user