Update bootstrap.sh (#2862)

* Update bootstrap.sh

Fix issue when generating config.json

* Update bootstrap.sh

Fix mongodb URI
This commit is contained in:
Florent Vilmart
2016-10-13 13:05:36 -04:00
committed by GitHub
parent 09f871b786
commit c253daa9c9

View File

@@ -4,7 +4,7 @@ GREEN='\033[0;32m'
NC='\033[0m'
BOLD='\033[1m'
CHECK="${GREEN}\xE2\x9C\x93${NC}"
DEFAULT_MONGODB_URI='mongodb://localhost:127.0.0.1:27017/parse'
DEFAULT_MONGODB_URI='mongodb://127.0.0.1:27017/parse'
confirm() {
DEFAULT=$1;
@@ -144,7 +144,7 @@ read -r MONGODB_URI
cat > ./config.json << EOF
{
"applicationId": "${APP_ID}",
"appId": "${APP_ID}",
"masterKey": "${MASTER_KEY}",
"appName": "${APP_NAME}",
"cloud": "./cloud/main",