Skip to content

Commit

Permalink
Remove seeding from the startup compose command
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Rusakov committed Oct 1, 2024
1 parent 4ffd582 commit 0ac69e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ WITH unaccent, simple;

Now that the database is ready, you can start backend either with Docker or not.

### Testing data

```bash
python manage.py seed
```

Will seed your database with testing users, contracts and other sample data.

### Run dev server without docker on Windows

You'll need to configure 3 paths to your GDAL installation according to `.env.sample`.
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ services:
command: >
bash -c "
python3 manage.py migrate &&
python3 manage.py seed &&
python3 manage.py collectstatic --noinput &&
python3 manage.py fixturize"
volumes:
Expand Down

0 comments on commit 0ac69e7

Please sign in to comment.