Skip to content

Commit

Permalink
Add python -m poetry to run poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyler84 committed Mar 6, 2024
1 parent 1ea0cf0 commit 28bf49b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ This template repository contains all the required files to start a simple chall
Ensure you have python poetry installed - this is used to install a virtualenv and manage dependencies

```
pip install --upgrade pip
pip install --upgrade pip --user
pip3 install poetry
poetry install --no-root
python -m poetry install --no-root
```

## Running in development

Flask comes with a development server built in. To use it, run
```
poetry run flask -A challenge run
python -m poetry run flask -A challenge run
```

## Running in production

```
poetry run gunicorn 'challenge:app'
python -m poetry run gunicorn 'challenge:app'
```

## Running with docker
Expand Down

0 comments on commit 28bf49b

Please sign in to comment.