aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-01-16 05:53:40 +0300
committerRblSb <msrblsb@gmail.com>2021-01-16 05:53:40 +0300
commit266c0cbe76d345afe49759ba8be9ba7aadc4760d (patch)
tree4c198009a26a15717cbe38d3980ca303ac13c938 /README.md
parent6190cb511b481fbf2c0ea39e90101dbea371fbf5 (diff)
Add dockerfile
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 389b065..c88409f 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,12 @@ Default channel example: http://synctube-example.herokuapp.com/
- Run `node build/server.js`
- Open showed "Local" link for yourself and send "Global" link to friends
+### Setup (Docker)
+- As alternative, you can install Docker and run:
+- `docker build -t synctube .`
+- `docker run --rm -it -p 4200:4200 -v ${PWD}/user:/usr/src/app/user synctube`
+- (Docker container hides real local/global ips, so you need to checkout it manually)
+
### Configuration
It's just works, but you can also check [user/ folder](/user/README.md) for server settings and additional customization.
@@ -50,7 +56,7 @@ It's just works, but you can also check [user/ folder](/user/README.md) for serv
### Development
- Install [Haxe 4.1](https://haxe.org/download/), [VSCode](https://code.visualstudio.com) and [Haxe extension](https://marketplace.visualstudio.com/items?itemName=nadako.vshaxe)
- `haxelib install all` to install extern libs
-- If you skipped `Setup` section before: `npm install`
+- If you skipped `Setup` section before: `npm ci`
- Open project in VSCode and press `F5` for client+server build and run
### About
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage