From f621b59fc37213ca3013760ff51bd411221af78c Mon Sep 17 00:00:00 2001 From: ekzyis Date: Fri, 27 Jan 2023 21:50:45 +0000 Subject: [PATCH 1/2] Add missing instructions to README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fa4a53e..122dbd7 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Install requirements: ``` $ pip install -r requirements.txt +$ pacman -S ffmpeg ``` Configure ENV: @@ -54,6 +55,7 @@ There is NO WARRANTY, to the extent permitted by law. Build image: ``` +$ cp .env docker.env $ make build ``` From 617637e18e8d33b71d38106dba366237bbed9394 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Fri, 27 Jan 2023 21:51:06 +0000 Subject: [PATCH 2/2] Put run command into Makefile --- Makefile | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7df08b4..2d6a625 100644 --- a/Makefile +++ b/Makefile @@ -14,3 +14,6 @@ build: --build-arg DISCORD_LOG_CHANNEL_CLEAR_ON_STARTUP=${DISCORD_LOG_CHANNEL_CLEAR_ON_STARTUP} \ -t musicube:${GIT_COMMIT} -t musicube:latest \ . + +run: + docker run --rm --detach --name musicube musicube:latest diff --git a/README.md b/README.md index 122dbd7..380ae33 100644 --- a/README.md +++ b/README.md @@ -62,5 +62,5 @@ $ make build Run image: ``` -$ docker run --rm --detach --name musicube musicube:latest +$ make run ```