How to build an app and use Meteor.settings

hello meteorians!

I have been developing an app with a config file that it’s going to be modified by an external app.

my question is, how do I build my app and still been able to use Meteor.settings???

I solve this problem by using METEOR_SETTINGS environment variable
originally my config.json file was in private/ folder so after building my app I run this

export METEOR_SETTINGS="cat programs/server/assets/app/config.json" and then follow instruction on README

meteor --settings settings.json

@corvid that’s for the development stage. but after you do meteor build you’ll end up with a tarball that you’ll use for production :-p