diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e9f773 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +## Setup Guide for Server + +1. Install docker following the instructions at https://gist.github.com/din0s/2660fdf6cf2307737210b62770780157 +2. Install NodeJS +>* If you run on Linux follow the instructions at the link: +>>>https://www.geeksforgeeks.org/installation-of-node-js-on-linux/ +>* If you run on Windows follow the instructions at the link: +>>>https://phoenixnap.com/kb/install-node-js-npm-on-windows +2. Clone repository +3. Open a terminal and a file exlorer in \GradeServer +4. At terminal input **cp .env.defaults .env** +5. In .env file change *mongoHost=ip:port* to *mongoHost=0.0.0.0:27017* +6. At terminal input (docker must be running): +>* npm install +>* docker-compose up -d mongodb +>* npm start \ No newline at end of file