Web Project Zombie Survivor Social Network Evaluation of Codiminer42.
$ sudo apt-get install nginx
$ sudo apt-get install git
$ sudo apt-get update
$ sudo apt-get install nodejs nodejs-legacy npm
$ sudo npm install -g webpack
$ git clone https://github.com/guilherme737/zssn-web.git
$ cd zssn-web
$ npm install
$ npm run build
$ gedit twds.conf
- In the 'root' attribute of the 'location /' object, change the value with the correct path of the '/app/' folder of the web project (with '/' at the end)
- In the 'alias' attribute of the 'location /node_modules/' object, change the value with the correct path of the web project '/node_modules/' folder (with '/' at the end)
$ sudo cp twds.conf /etc/nginx/conf.d/
$ sudo service nginx restart
$ sudo gedit /etc/hosts
- "127.0.0.1 guiga.twds.com" - Add text in quotation marks just below existing hosts