From 836806e7b025144be8e30bffbf7e24c9b1e7fe18 Mon Sep 17 00:00:00 2001 From: Kirill Python Date: Thu, 17 Nov 2016 08:40:42 +0400 Subject: [PATCH] Add info about Docker to README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 39a9a5d..1742dcd 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,15 @@ Built by [Yotam Mann](https://github.com/tambien) with friends on the Magenta an A.I. Duet is composed of two parts, the front-end which is in the 'static' folder and the back-end which is in the 'server' folder. The front-end client creates short midi files using the user's input which is sent to the server. The server takes that midi input and continues it using [Magenta](https://github.com/tensorflow/magenta) which is then returned back to the client. +## DOCKER + +```bash +$ sudo docker build -t ai-duet . +$ sudo docker run -t -p 8080:8080 ai-duet +``` + +You can now play with A.I. Duet at [localhost:8080](http://localhost:8080). + ## FRONT END To build the client-side javascript, first install [node](https://nodejs.org) and [webpack](https://webpack.github.io/). Then you can install of the dependencies of the project by typing the following in the terminal: