Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new url format for mongodb #1677

Merged
merged 2 commits into from
Jan 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/installNuve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ populate_mongo(){
dbURL=`grep "config.nuve.dataBaseURL" $PATHNAME/licode_default.js`

dbURL=`echo $dbURL| cut -d'"' -f 2`
dbURL=`echo $dbURL| cut -d'"' -f 1`
dbURL=`echo $dbURL| sed 's/mongodb:\/\///'`

echo [licode] Creating superservice in $dbURL
get_or_create_superservice_credentials
Expand Down
3 changes: 2 additions & 1 deletion scripts/licode_default.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ config.cloudProvider.name = '';
NUVE CONFIGURATION
**********************************************************/
config.nuve = {};
config.nuve.dataBaseURL = "localhost/nuvedb"; // default value: 'localhost/nuvedb'
config.nuve.dataBaseURL = "mongodb://localhost/nuvedb"; // default value: "mongodb://localhost/nuvedb"
config.nuve.dataBaseName = 'nuvedb'; // default value: 'nuvedb'
config.nuve.superserviceID = '_auto_generated_ID_'; // default value: ''
config.nuve.superserviceKey = '_auto_generated_KEY_'; // default value: ''
config.nuve.testErizoController = 'localhost:8080'; // default value: 'localhost:8080'
Expand Down