Skip to content

Commit

Permalink
bump version to v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aidewoode committed Jul 16, 2020
1 parent 19f422d commit 7ff0a01
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### 1.1.1
- new features
- add support for oga and wma formats

- enhancements
- use wahwah to replace taglib-ruby
- remove the environment variables required for installation

### 1.1.0
- enhancements
- use pg full text search to replace pgroonga
Expand Down
21 changes: 7 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,20 @@ Black candy support mp3, m4a, ogg, oga, opus, flac, wma and wav formats now.

Black candy has built [docker images](https://hub.docker.com/r/blackcandy/blackcandy). You can use docker compose to run all services.

First, you should create `docker-compose.yml` file for black candy.
First, you should ensure your music files stored under "/media_data"

Here is the example [docker-compose.yml](https://raw.githubusercontent.com/aidewoode/black_candy/v1.1.0/docker-compose.yml) you can use. You can also change the `docker-compose.yml` for your own needs.

Second, set `BLACK_CANDY_MEDIA_PATH` and `BLACK_CANDY_SECRET_KEY_BASE` environment variable on your sever and point `BLACK_CANDY_MEDIA_PATH` to the readable directory on your server to store your music files.

```shell
# Like this
$ export BLACK_CANDY_MEDIA_PATH="/example_media_path"
$ export BLACK_CANDY_SECRET_KEY_BASE="your_secret_key"
```

Finally run:
Then run:

```shell
$ curl https://raw.githubusercontent.com/aidewoode/black_candy/v1.1.1/docker-compose.yml > docker-compose.yml
$ docker-compose up -d
```
That's all. Now, you can use initial admin user to login (email: admin@admin.com, password: foobar).

That's all.
You can also change the `docker-compose.yml` for your own needs.

You can use initial admin user to login (email: admin@admin.com, password: foobar).
> **Note:** When the SECRET_KEY_BASE environment variable is not set, Black candy will generate SECRET_KEY_BASE environment variable every time when service start up.
> This will cause old sessions invalid, You can set your own SECRET_KEY_BASE environment variable on docker service to avoid it.
## Try in PWD

Expand Down

0 comments on commit 7ff0a01

Please sign in to comment.