Skip to content

Instantly share code, notes, and snippets.

@wbashir
Forked from ryw/modulus meteor deploy
Created July 18, 2013 01:38
Show Gist options
  • Save wbashir/6026066 to your computer and use it in GitHub Desktop.
Save wbashir/6026066 to your computer and use it in GitHub Desktop.
#!/bin/bash
# let's start fresh
rm -rf .demeteorized
rm /tmp/newfile
# run + cd
demeteorizer
cd .demeteorized
# npm 1.2.2 hack
rm /tmp/newfile
sed 's/"npm": "1.2.2"/"npm": "1.3.4"/' package.json >> /tmp/newfile
cp /tmp/newfile package.json
# deploy + go back to project dir
modulus deploy -p APPNAME
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment