Can I specify different config.json files to use?
I'd like to have multiple config.json files (1 for development, 1 for production) and manually copying them back and forth is a real pain, especially when I accidentally check the development one in.
Is there a way I could specify which one to use on startup?
especially when I accidentally check the development one in.
Actually, you probably shouldn't check
config.jsonin -- unless you're using Heroku or something, in which case there's not much you can do.
@julian Yes, I am using heroku actually.
I guess that answers my question
I suppose one could forego the config.json file completely and use environment variables to configure their NodeBB. The properties are the same.
url=http://localhost:4567 database=redis node app.jsetc...