Updated Running Ciphey (markdown)

Bee 2020-09-10 22:15:01 +01:00
parent 69cfb7c17e
commit e2dfb3e412
1 changed files with 17 additions and 1 deletions

@ -11,4 +11,20 @@ poetry run ciphey -t "hello"
We use Poetry because it creates a virtual environment and installs the packages every time you run it. Essentially it's fake-Docker for Python. But it means that if it runs for you via Poetry, it has to run for everyone else too. We use Poetry because it creates a virtual environment and installs the packages every time you run it. Essentially it's fake-Docker for Python. But it means that if it runs for you via Poetry, it has to run for everyone else too.
It also fixes dependency issues. Because it installs the required dependencies on run-time it will always have the right ones. No more conflicts! It also fixes dependency issues. Because it installs the required dependencies on run-time it will always have the right ones. No more conflicts!
# Running without Poetry
In the root folder create a file named `main.py` (name does not matter). The file contains this:
```python
from ciphey.ciphey import main
main()
```
Now to run Ciphey, call:
```console
python3 main.py
```