- Install meteor
meteor build my_app
(inside app folder)- Move the tar in a web folder and untar it
- Change /etc/nginx/my_app.com to proxypass to localhost:3000
- Reload nginx
- Install node and mongodb(binary)
- Start mongod with --smallfiles and &(or screen)
./mongod --smallfiles --fork --logpath /var/log/mongod.log
- move in bundle folder
- Install the app
(cd programs/server && npm install)
- start screen
session screen -S meteorSession
env PORT=3000 ROOT_URL=http://betterbin.co MONGO_URL=mongodb://localhost:27017/myapp node main.js
Last active
October 16, 2015 21:08
-
-
Save Naramsim/e51a65de7a3fcaf6d5c9 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment