Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 1.26 KB

README.md

File metadata and controls

59 lines (37 loc) · 1.26 KB

Korerorero / Mouth Shapes

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

.env setup

cp .env.example .env

Docker setup

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

Installation

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.

Development

(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