Deployment script for meteor app
#!/bin/bash
/opt/sertal/userman-start stop
cd /opt/sertal/user-management/sertalUM
rm -Rf /opt/sertal/node-userman
rm -f /opt/sertal/userman.tgz
meteor bundle --release 0.6.4.1 /opt/sertal/userman.tgz
cd /opt/sertal
tar -xvzf userman.tgz
mv bundle node-userman
#update this to programs/server with 0.6.5
cd /opt/sertal/node-userman/server
npm install fibers
/opt/sertal/userman-start start
Written by Micha Roon
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell script
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#