diff --git a/README.md b/README.md index de9f442..411cd69 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,14 @@ docker compose up -d Buy Me A Coffee - ## Check out the awesome sponsors of MediaManager ❤️ + Aljaž Mur Eržen   Luis Rodriguez   + ## Roadmap - [x] support for more torrent indexers @@ -94,7 +95,6 @@ See the [open issues](hhttps://maxdorninger.github.io/MediaManager/issues) for a ![Screenshot 2025-07-02 174416](https://github.com/user-attachments/assets/0d50f53b-64da-4243-8408-1d6fc85fe81b) ![Screenshot 2025-06-28 222908](https://github.com/user-attachments/assets/193e1afd-dabb-42a2-ab28-59f2784371c7) - ## Developer Quick Start ```bash @@ -103,8 +103,9 @@ See the [open issues](hhttps://maxdorninger.github.io/MediaManager/issues) for a # Activate the virtual environment uv pip install -e . ``` + ```bash -docker compose up db -d +docker compose -f docker-compose.yaml -f docker-compose.dev.yaml up db -d ``` ```bash @@ -114,26 +115,28 @@ uv run alembic upgrade head ### Get the frontend up and running ```bash -cd /web && npm install +cd ./web && npm install ``` ### Now start the backend and frontend + ```bash -fastapi dev /media_manager/main.py --reload --host +fastapi dev ./media_manager/main.py --reload --host ``` ```bash -cd /web && npm run dev +cd ./web && npm run dev ``` - + ## License Distributed under the AGPL 3.0. See `LICENSE.txt` for more information. + ## Acknowledgments * [Thanks to Pawel Czerwinski for the image on the login screen](https://unsplash.com/@pawel_czerwinski) diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml new file mode 100644 index 0000000..b15b9e4 --- /dev/null +++ b/docker-compose.dev.yaml @@ -0,0 +1,4 @@ +services: + db: + ports: + - "5432:5432" diff --git a/docker-compose.yaml b/docker-compose.yaml index 9140d75..8f02a0c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -18,15 +18,11 @@ services: volumes: - ./postgres:/var/lib/postgresql/data healthcheck: - test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"] - interval: 10s - timeout: 5s - retries: 5 + test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ] + interval: 10s + timeout: 5s + retries: 5 environment: POSTGRES_USER: MediaManager POSTGRES_DB: MediaManager POSTGRES_PASSWORD: MediaManager - ports: - - "5432:5432" - -