a Sails application
Instructions
Setup using node.js on your machine
- Install node.js on your local machine
- Download this git repository on your machine
- Change to the root of the git repository
- Run "npm install ."
- Run "sudo sails lift"
- The EM server API is now accesible on http://localhost/answers
Setup using docker on your machine
- Install Docker
- Download this git repository on your machine
- Open shell
- Change to the root of the git repository
- Run the following line "docker build -t em-scan-server:latest --no-cache ."
- Run the following line "docker run -p 80:80 -dt -v "DataDrrPath on your Machine":/var/db --rm --name em-scan-server em-scan-server"
- The EM server API is now accesible on http://localhost/answers