Skip to content

Commit

Permalink
docs: Install poetry globally
Browse files Browse the repository at this point in the history
  • Loading branch information
mradigen committed Nov 14, 2023
1 parent b81c368 commit b871690
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

## Setup:
```sh
pip install poetry
python -m venv .venv # Create a python virtual environment
source .venv/bin/activate # Activate it (This command will differ for Windows)
pip install poetry
poetry install # Install the dependencies
```

Expand Down
2 changes: 2 additions & 0 deletions src/pwncore/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ def __init__(self, development: bool) -> None:
self.development = development

DEV_CONFIG: t.Final[BaseConfig] = BaseConfig(True)

config = DEV_CONFIG
4 changes: 1 addition & 3 deletions src/pwncore/routes/ctf/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
from pwncore.routes.ctf import router
from pwncore.db import Container, CTF
from pwncore.container import docker_client
from pwncore.config import DEV_CONFIG

config = DEV_CONFIG
from pwncore.config import config

# temporary helper functions
def get_team_id():
Expand Down

0 comments on commit b871690

Please sign in to comment.