mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 12:00:10 +08:00
020ac5cb24
* Converted initial outputs to color outputs * Some more coloring * Colored all error outputs * Completed coloring of outputs * Created basic logger instance * Moved over to Winston for logging * Remove unnnecessary stuff * Added max file size * Renamed log to logToDb * minor refactor and added tab separation with timestamps * Some changes. Thanks Bruception * Created wrapper for logger * Tiny refactor * Some fixes * Some fixes * Update example env * Remove general * using default yellow, making colors bold * removed square brackets * removed square brackets * using logger instead of console log * updated timestamp format * moved comment up * Fixed typo Co-authored-by: Miodec <bartnikjack@gmail.com>
13 lines
412 B
Bash
13 lines
412 B
Bash
DB_NAME=monkeytype
|
|
DB_URI=mongodb://localhost:27017
|
|
REDIS_URI=redis://localhost:6379
|
|
LOG_FOLDER_PATH=./logs/
|
|
# Default log file max size is 10 MB
|
|
LOG_FILE_MAX_SIZE=10485760
|
|
MODE=dev
|
|
# You can also use the format mongodb://username:password@host:port or
|
|
# uncomment the following lines if you want to define them separately
|
|
# DB_USERNAME=
|
|
# DB_PASSWORD=
|
|
# DB_AUTH_MECHANISM="SCRAM-SHA-256"
|
|
# DB_AUTH_SOURCE=admin
|