Calipso cannot use MONGO_URI at runtime
richtera opened this issue · 2 comments
richtera commented
Calipso always assumes that the configuration is stored in the file system and therefore it's hard to deploy on normal node deployment servers. Usually those deployment systems will wipe out the configuration whenever you push a new version.
richtera commented
If calipso sees a MONGO_URI in the environment it will automatically switch to storing the configuration in the database instead of the file system. To take over a previously configured database and "re-install" just delete the "confs" collection or execute "db.confs.update({environment:'development'},{$set:{"configuration.installed":false}})"
richtera commented
The site on calip.so now uses this feature.