i using meteor deploy app production server.
for configuring meteor.settings through settings-dev.json , settings-prod.json development , production environments.
i have 2 main doubts:
how can run 'mup deploy' command machine , choose settings-prod.json?
is best practice configure server , resource values using settings-[env].json deploy app?
thanks
just use default name /settings.json
work, when execute mup init
automatically create 2 files
mup.json - meteor configuration file
settings.json - settings meteor's settings api
and yes it's idea use settings.json
careful don't insert secret information inside "public":{}
for example:
{ "public": { "publickey": 'xxx' // available client }, "oauthsecretkey": "xxx" // available server }
Comments
Post a Comment