it is a news app
- Git Clone
- Run npm i and go to /webapp and run npm i
- copy nginx conf file to nginx/conf
- windows test cmd for nginx is running = tasklist /fi "imagename eq nginx.exe"
- windows cmd to run nginx = nginx -c conf\journalbrew.conf
- run
sudo apt-add-repository ppa:redislabs/redis
- run
sudo apt-get update
->sudo apt-get upgrade
- run
sudo apt-get install redis-server
- After setting up everything from https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04
- uncomment bind 127...
- followed by space enter your ip or try next line bind
- redis-server or redis-server --requirepass cmd in windows to start
- Run npm run start-dev in journalbrew and journalbrew/webapp folders.
- Make sure all _internal folders in webapp are ok
- Run npm run build-prod in journalbrew/webapp
- Start nginx as shown above
- Run npm run start-prod in journalbrew
- Go to localhost:80