Skip to content

Commit

Permalink
Update setup docs to work with new poetry versions
Browse files Browse the repository at this point in the history
Poetry expects the venv folder to be named ".venv" for some reason...
  • Loading branch information
eikhr authored Feb 5, 2025
1 parent 36170fa commit 131c089
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 @@ -18,9 +18,9 @@ LEGO requires `python3.11`, `python3.11-venv`, `docker` and `poetry`. Services l

```bash
$ git clone [email protected]:webkom/lego.git && cd lego/
$ python3.11 -m venv venv
$ python3.11 -m venv .venv
$ echo "from .development import *" > lego/settings/local.py
$ source venv/bin/activate
$ source .venv/bin/activate
$ poetry install
$ docker compose up -d
$ python manage.py initialize_development
Expand All @@ -29,7 +29,7 @@ $ python manage.py initialize_development
### Activate and run (every time)

```bash
$ source venv/bin/activate
$ source .venv/bin/activate
$ docker compose up -d
$ python manage.py runserver
```
Expand Down Expand Up @@ -65,7 +65,7 @@ $ poetry lock --no-update
# The conflicts should be resolved
```

> If you get problems it can be a solution to delete the `venv`, and do a fresh setup
> If you get problems it can be a solution to delete the `.venv`, and do a fresh setup
## Code Style

Expand Down

0 comments on commit 131c089

Please sign in to comment.