简体   繁体   中英

Pushing changes to deployed Meteor.js app

After deploying a meteor.js app to my own server, what is the best practice to continue pushing code changes to the live app if I want to develop off the server?

Do you upload the newly edited file to the server via FTP and the page auto-reloads? Doing meteor bundle app.tgz , then uploading to server then untarring the package seems to be too slow and inefficient to me.

Basically you have to do something that uploads the file, untar it, then restarts the node process.

As soon as it restarts the clients will refresh their pages.

If you find it inefficient and slow you could use a script to do it all for you such as https://github.com/netmute/meteor.sh

You could just edit the parameters in it to match your server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM