TogetherJS is a service for your website that makes it surprisingly easy to collaborate in real-time.
This project aims to achieve the following:
- Build TogetherJS server docker image
- Build TogetherJS client site for demo (in docker image)
- Docker compose to start the demo in local environment
This project is developed by ubuntu environment with docker 19.03.3
Use docker compose (provided by docker image) to start server and client in localhost for testing.
The testing URL is: http://localhost:4200/togetherjs/tests/index.html
# start server and client
$ make up
# stop server and client
$ make down
Server listening to HOST
and port 8080.
HOST
: the server host listening to
$ make docker-test-server
# or
$ docker run --rm --name temp-server -p 8080:8080 -e HOST="0.0.0.0" iuhhdev/togetherjs-server
Client listening to port 4200.
TogetherJS default test page: http://localhost:4200/togetherjs/tests/index.html
$ make docker-test-client
# or
$ docker run --rm --name temp-client -p 4200:80 iuhhdev/togetherjs-client
$ make build
$ make docker-build-server
$ make docker-build-client