Twitch Stream Pet
Please refrain from using
yarnto keep the Git repo a little cleaner. Sorry about my previous transgressions in this regard!
- From within the root directory run
npm installto install necessary dependencies. - Create a file called
.envin server directory. - Copy contents of
.env.sampleto.envand fill in appropriate variables. - To start the server:
npm start
#Running the client
- Open
http://127.0.0.1:<PORT>in a browser. - To view the current animation state:
/api/v1/creature/state/. - Use !talk command to mirror the string in the speech bubble at
http://127.0.0.1:<PORT>/. Ex: !talk Hello
- Templates use PUG templating engine
- They located in the
viewspath.