MODE_ENV and NODE_ENV variables usage guide - Gapminder/dollar-street-framework GitHub Wiki
DS project is a universal platform for comparison of visual data. Depends on data you want to be compared [Homes, Clinics, Schools] you need to change the settings for the application [S3 bucket, Default Filter values etc.]. In the other hand, you need to run DS in different modes for testing or for the production environment. There are two env variables used to manage this application states :
-
MODE_ENV: Contains information about MODE in which DS project will be run [local, dev, prod].
-
NODE_ENV: Contains information about the type of data you want to compare in DS project [Homes, Clinics, Schools].
Depending on MODE_ENV and NODE_ENV, the specified config file will be used to build an applicThe config