Twitch Stream Pet
Please refrain from using
yarn
to keep the Git repo a little cleaner. Sorry about my previous transgressions in this regard!
- From within the root directory run
npm install
to install necessary dependencies. - Create a file called
.env
in server directory. - Copy contents of
.env.sample
to.env
and 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
views
path.