From 5b8a2ac5e208deca5a56e18a3914458dfd6952e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vion?= Date: Sat, 18 Mar 2017 21:01:45 +0100 Subject: [PATCH 1/3] make "streamer" service depends on "streamer-builder" --- docker-compose.dev.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml index 52467da..6f10dd6 100644 --- a/docker-compose.dev.yaml +++ b/docker-compose.dev.yaml @@ -26,6 +26,9 @@ services: # Publishing a port for development ports: - '8000:8000' + depends_on: + - "streamer-builder" + sender-builder: build: frontend/sender/builder From c9445fbd01db9280607f6a3eb7fb7df38b0411bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vion?= Date: Sat, 18 Mar 2017 21:02:15 +0100 Subject: [PATCH 2/3] =?UTF-8?q?ensure=20=E2=80=9Cstreamer-builder"=20insta?= =?UTF-8?q?ll=20ghc=20if=20not=20present?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml index 6f10dd6..9dce1f3 100644 --- a/docker-compose.dev.yaml +++ b/docker-compose.dev.yaml @@ -76,7 +76,7 @@ services: - 'streamer-dist:/dist' working_dir: '/app' command: [ - "stack", "build", + "stack", "build", "--install-ghc", "--copy-bins", "--local-bin-path", "/dist", "--file-watch" From 173c08130612603af24ace08eb8e2c4459d7eca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vion?= Date: Sat, 18 Mar 2017 21:03:05 +0100 Subject: [PATCH 3/3] Document how to start hacking on the project --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 48997dc..13cf516 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,12 @@ A Chromecast application and proxy for [twitch.tv](https://twitch.tv) official web application available at [datcoloc.com/twitch-cast](https://datcoloc.com/twitch-cast) +## Devlopment + +```shell +./scripts/dev up +``` + ## Deployment Make sure you have **docker >= 1.10** and **docker-compose >= 1.6** installed