Thanks. I whitelisted my local IP, that fortunately was part of the get started-thing of atlas!
The connection string here looks like this:
mongodb+srv://Kuroki:<password>@ddc-eyolr.mongodb.net/test?retryWrites=true&w=majority
I changed the your code to this
{
"galaxy.meteor.com": {
"env": {
"ENV": "production",
"ROOT_URL": "www.mypage.com",
"MONGO_URL": "mongodb+srv://Kuroki:<password>@ddc-eyolr.mongodb.net/DDC",
"MONGO_OPLOG_URL": "mongodb+srv://Kuroki:<password>@ddc-eyolr.mongodb.net/local"
}
},
}
But what means that part of the string test?retryWrites=true&w=majority ?
Also, next up on deploying, I’m reading this:
https://themeteorchef.com/tutorials/deploying-with-meteor-galaxy#tmc-rigging-up-our-npm-script
On my package.json file I created this npm script, trying to follow this tutorial
"production": "DEPLOY_HOSTNAME=eu-west-1.galaxy.meteor.com meteor deploy ddcalpha.com --owner Kuroki --settings settings.json"
But when I try to “npm run production”, an error occurs
> DEPLOY_HOSTNAME=eu-west-1.galaxy.meteor.com meteor deploy ddcalpha.com --owner Kuroki --settings settings.json
Der Befehl "DEPLOY_HOSTNAME" ist entweder falsch geschrieben oder
konnte nicht gefunden werden. // translation: The command "DEPLOY_HOSTNAME" is written wrong or couldn't be found
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ddc@ production: `DEPLOY_HOSTNAME=eu-west-1.galaxy.meteor.com meteor deploy ddcalpha.com --owner Kuroki --settings settings.json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ddc@ production script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\NERV\AppData\Roaming\npm-cache\_logs\2019-08-27T23_01_40_963Z-debug.log
C:\Users\NERV\Desktop\Projekte\DDCFull>