Skip to content

Commit 8fb2edb

Browse files
committed
Modified dev instructions for new docker location and removed accidental
config commit.
1 parent 93efa2f commit 8fb2edb

File tree

5 files changed

+6
-173
lines changed

5 files changed

+6
-173
lines changed
-20 KB
Binary file not shown.

docker/dev_config/beets-flask/config.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

docker/dev_config/beets/config.yaml

Lines changed: 0 additions & 122 deletions
This file was deleted.

docker/docker-compose.dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ services:
2121
# if you want to use the same beets-library inside and out:
2222
# YOU NEED TO MAP YOUR MUSIC FOLDER IN THE CONTAINER TO THE SAME PATH AS OUTSIDE
2323
# and make sure the config used in the container has the right path!
24-
# - /music/:/music/
24+
- ../local/music/:/music/
2525

2626
# we put the beets and our beets-flask config into the /config directory
2727
# create these folders before starting the container! otherwise you might
2828
# get permission issues.
29-
- ./dev_config/:/config
29+
- ../local/config/:/config
3030

3131
# for development. (disable if target is `prod`)
3232
- ../:/repo/

docs/develop/contribution.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ cd beets-flask
1414
We use a development container for a consistent development environment across devices You can use the provided `docker-compose-dev.yaml` to start a development container.
1515

1616
```bash
17-
docker-compose -f docker-compose-dev.yaml up --build
17+
docker-compose -f docker/docker-compose.dev.yaml up --build
1818
```
1919

20-
This mounts `./` to `/repo` in the container for live reloading and enhanced development experience and starts the development flask server and serves the frontend at `http://localhost:5173`.
20+
This mounts `./` to `/repo` in the container for live reloading and enhanced development experience and starts the development flask server and serves the frontend at `http://localhost:5173` and the backend at `http://localhost:5001`.
21+
22+
As always you may need to adjust the user, ports and volumes in the compose file for your specific setup. We recommend to create a copy of the `docker-compose.dev.yaml` and adjust it to your needs.
2123

2224
### Apple Issues
2325

0 commit comments

Comments
 (0)