From 0ac69e71ab7b612a3d68eb0e8fcb510d39c9ff51 Mon Sep 17 00:00:00 2001 From: Andrey Rusakov Date: Tue, 1 Oct 2024 15:39:36 +0200 Subject: [PATCH] Remove seeding from the startup compose command --- README.md | 8 ++++++++ docker-compose.yml | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 59984d27..952167c1 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/docker-compose.yml b/docker-compose.yml index 6f81aa95..bad0e8b4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: