This project uses latest Meteor, AngularJS, Google Material Design, and Mongo DB. Great for starting new projects.
- Install Meteor
- Install MongoDB
- cd
- meteor npm install
- meteor
- apt-get install nginx mongodb-server
- netstat -ntlp | grep LISTEN
- docker run -p 27017:27017 --name mongodb -d mongo
- https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx
-
- Only to step 1 or 2 ^.
- vi /etc/nginx/sites-enabled/tropikult.com
- nginx -s reload
- Meteor is running on port 3000, but nginx forwards port 80 (default traffic) to 3000.
- https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands
- ufw status
- sudo ufw allow from any to any port 27017
- sudo ufw allow https
- sudo ufw allow http
- mup https://www.digitalocean.com/community/questions/deploying-a-meteor-app-with-mup-to-a-droplet
- cd .deploy/
- mup.cmd setup
- mup.cmd deploy