mirror of https://github.com/Ciphey/Ciphey.git
Updated Running Ciphey (markdown)
parent
69cfb7c17e
commit
e2dfb3e412
|
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue