On this page you can see how to configure the work environment. It is very important to follow the steps as indicated.
MONGO_URLis your application's database URL.
TEST_MONGO_URLis when you run testing.
Redis is necessary for reactive subscriptions.
REDIS_HOSTis your redis server's URL.
REDIST_PORTdefines which port is redis running.
REDIS_PASSWORDfill this if you have password on your redis server.
HTTPSthis is boolean variables, set true if you are using secure ssl.
MAIN_APP_DOMAINthis is your main application's domain where is erxes/erxes repository is running.
WIDGETS_DOMAINyour widget application's domain where is erxes/widgets repository is running.
DOMAINthis is your erxes-api application's domain where is erxes/erxes-api repository is running.
NODE_ENVset to production on live mode, set to development on development mode.
PORTthis option will define which port is your application running, you can change to any port you want.