From 6025b296ad0d21284aa93fc85d645c673bb9c42a Mon Sep 17 00:00:00 2001 From: behruz-dev Date: Wed, 19 Nov 2025 16:17:49 +0500 Subject: [PATCH] README.md file qoshildi va qolib ketgan kamchiliklar to'g'irlandi --- README.md | 8 +++++++ config/urls.py | 3 ++- .../{create_client.py => createclient.py} | 0 docker-compose.yaml | 24 ------------------- 4 files changed, 10 insertions(+), 25 deletions(-) create mode 100644 README.md rename core/apps/customers/management/commands/{create_client.py => createclient.py} (100%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..6a9068e --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Qurilish Boshqaruv Backend Saas (Software as a Service) + +## Loyihani Run qilish ketma-ketligi +``` bash +cp .env.example .env # .env fileda kerakli maydonlarni toldirish kerak +``` +``` bash +docker-compose up --build -d \ No newline at end of file diff --git a/config/urls.py b/config/urls.py index 24f3824..38aa099 100644 --- a/config/urls.py +++ b/config/urls.py @@ -9,4 +9,5 @@ urlpatterns = [ ] -urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) \ No newline at end of file +urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) +urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) \ No newline at end of file diff --git a/core/apps/customers/management/commands/create_client.py b/core/apps/customers/management/commands/createclient.py similarity index 100% rename from core/apps/customers/management/commands/create_client.py rename to core/apps/customers/management/commands/createclient.py diff --git a/docker-compose.yaml b/docker-compose.yaml index 63c9a0c..69928e6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -27,7 +27,6 @@ services: - './:/code' depends_on: - db - # - redis restart: always db: @@ -42,29 +41,6 @@ services: - pg_data:/var/lib/postgresql/data restart: always - # redis: - # networks: - # - qurish_boshqaruv - # image: redis - # restart: always - - # celery: - # build: - # context: . - # dockerfile: ./docker/Dockerfile.web - # command: celery -A config worker --loglevel=info - # volumes: - # - "./:/code" - # depends_on: - # - redis - # - web - # networks: - # - uyqur - # environment: - # - CELERY_BROKER_URL=${CELERY_BROKER_URL:-redis://redis:6379/0} - # - CELERY_RESULT_BACKEND=${CELERY_RESULT_BACKEND:-redis://redis:6379/0} - # restart: always - volumes: pg_data: null