Created
March 26, 2013 21:38
-
-
Save anonymous/5249546 to your computer and use it in GitHub Desktop.
Bash script to redeploy a meteor.js application.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=$1 | |
echo "Redeploying ${NAME}" | |
tar xvf "${NAME}.tar.gz" | |
rm -rf "${NAME}_old" | |
mv -v $NAME "${NAME}_old" | |
rm -rf $NAME | |
mv -v bundle $NAME | |
cd "${NAME}/server" | |
rm -rf node_modules/fibers | |
npm install fibers | |
cd .. | |
echo "DONE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment