Node server that inputs data from data collection android app and outputs to Ashwin and Maya
We use docker to deploy and test images. To build the image for the Hermes server, do:
./makeImage.sh
Inside the root folder.
This will create an image with npm, node, and our dependencies. To run the container, do:
docker run -p <host port>:4001 -d <username>/hermes-web-app
This will start the container and have it exponsed at the port you specify in <host port>
.
There are more convenience scritps. If you have created an image of Skanda that is built, then docker-compose up will start Hermes and Skanda connected through the Docker network.