meteor - Path variables not working on 0.6.5 e.g. METEOR_SETTINGS -
i cannot working after updated 0.6.5.
i created new meteor project.
i have start.sh script looks this.
export meteor_settings=$(cat ./settings.json) meteor
settings.json:
{ "public":{ "bla":"blup" } }
meteor.settings on client undefined. works if add settings json file via "--settings", unfortunately not need.
the port environment variable or node_env not work me.
adding random stuff "export my_env_var=foo" works.
am missing s.th.? worked before. appreciate help.
thx!
(also created issue: https://github.com/meteor/meteor/issues/1381)
if trying test meteor app locally (dev mode) or want deploy app meteor hosting, pass file path settings param:
meteor --settings settings.json
in case of running bundle on own server, need environment variable.
docs.
Comments
Post a Comment