Skip to content

How to update the server

Martin Hammerchmidt edited this page Nov 28, 2015 · 2 revisions

Here, I will teach you how to update the meteor app in the right way.

  1. First, connect to the server (obviously).

  2. Go to /home/themia.co (cd /home/themia.co)

  3. nvm use 0.10

  4. pm2 stop 0

  5. rm -rf bundle/ themia.co.tar.gz

  6. cd themia.co

  7. git pull

  8. meteor build ./..

  9. cd ./..

  10. tar -xf themia.co.tar.gz

  11. cd bundle/programs/server

  12. npm install

  13. pm2 start 0

  14. Your job is done !!

Clone this wiki locally