Skip to content

hicodingclub/lka

Repository files navigation

lka

Create a .env in the project root directory for your development environment. Example:

For example. put a new file in your project directory: /home/ubuntu/projects/lka/.env, with content:

NODE_ENV=development

PORT=3000
ADMIN_PORT=3001
LISTENING_ADDR=0.0.0.0

MONGODB_URL=<your mongodb url>

# Log levels: error, warn, info, verbose, debug, silly
CONSOLE_LOG_LEVEL=debug
FILE_LOG_LEVEL=warn

An example of the MONGODB_URL is:

MONGODB_URL=mongodb://lkauser:[email protected]:43683/lka

Create a .env file in the project root directory for your production environment. Example:

NODE_ENV=production

PORT=80
ADMIN_PORT=8080
LISTENING_ADDR=0.0.0.0

MONGODB_URL=<your mongodb url>

CONSOLE_LOG_LEVEL=warn
FILE_LOG_LEVEL=warn

About

Light of Knowledge Academy Web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •