Created
February 6, 2015 01:29
-
-
Save ppillip/9afbe1501e73ee791281 to your computer and use it in GitHub Desktop.
start.sh
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/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