Update bootstrap.sh (#2862)
* Update bootstrap.sh Fix issue when generating config.json * Update bootstrap.sh Fix mongodb URI
This commit is contained in:
@@ -4,7 +4,7 @@ GREEN='\033[0;32m'
|
|||||||
NC='\033[0m'
|
NC='\033[0m'
|
||||||
BOLD='\033[1m'
|
BOLD='\033[1m'
|
||||||
CHECK="${GREEN}\xE2\x9C\x93${NC}"
|
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() {
|
confirm() {
|
||||||
DEFAULT=$1;
|
DEFAULT=$1;
|
||||||
@@ -144,7 +144,7 @@ read -r MONGODB_URI
|
|||||||
|
|
||||||
cat > ./config.json << EOF
|
cat > ./config.json << EOF
|
||||||
{
|
{
|
||||||
"applicationId": "${APP_ID}",
|
"appId": "${APP_ID}",
|
||||||
"masterKey": "${MASTER_KEY}",
|
"masterKey": "${MASTER_KEY}",
|
||||||
"appName": "${APP_NAME}",
|
"appName": "${APP_NAME}",
|
||||||
"cloud": "./cloud/main",
|
"cloud": "./cloud/main",
|
||||||
|
|||||||
Reference in New Issue
Block a user