Skip to content

Instantly share code, notes, and snippets.

@ppillip
Created February 6, 2015 01:29
Show Gist options
  • Save ppillip/9afbe1501e73ee791281 to your computer and use it in GitHub Desktop.
Save ppillip/9afbe1501e73ee791281 to your computer and use it in GitHub Desktop.
start.sh
#!/bin/sh
## ./start.sh local
if [ "$1" = "local" ]
then
echo "#####################"
echo "localhost mongodb mode 입니다"
NODE_OPTIONS=--debug MONGO_URL=mongodb://localhost:27017/kdhec meteor -p 8048
else
echo "서버 mongodb mode 입니다."
echo "#####################"
NODE_OPTIONS=--debug MONGO_URL=mongodb://192.168.1.128:27017/kdhec meteor -p 8048
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment