This project is a component of korerorero-reverse-proxy project: https://github.com/ServiceInnovationLab/korerorero-reverse-proxy
Exposing DanielSWolf / rhubarb-lip-sync as a service
cp .env.example .env
docker build -t korerorero-mouth-shapes:latest .
To run
docker run -p 3000:3000 korerorero-mouth-shapes:latest
To run tests on local code changes
docker run -it -v $PWD/src:/usr/src/app/src korerorero-mouth-shapes:latest /usr/bin/npm test
Debug / to get a shell
docker run -it korerorero-mouth-shapes:latest /bin/bash
To use as a development environment
Changes in local project folder are mapped into docker container.
docker run -p 3000:3000 -v $PWD:/usr/src/app korerorero-mouth-shapes:latest
Use the docker instructions above. It's a whole thing to set up this environment on your local machine.
Once you have the docker image running, visit http://localhost:3000/ and you should see the Rhubarb version installed.
(From within a docker instance)
Build and watch files for changes, and start the express server with hot swapping enabled
npm run build & npm start