1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leantime_ynh.git synced 2024-09-03 19:36:04 +02:00
This commit is contained in:
Éric Gaspar 2023-05-08 21:26:15 +02:00
parent 9fcd17c1a4
commit bdb016c60b
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@
LEAN_APP_URL = 'https://__DOMAIN__' # Base URL, only needed for subfolder installation LEAN_APP_URL = 'https://__DOMAIN__' # Base URL, only needed for subfolder installation
LEAN_APP_URL_ROOT = '' # Base of application without trailing slash (used for cookies), e.g, /leantime LEAN_APP_URL_ROOT = '' # Base of application without trailing slash (used for cookies), e.g, /leantime
LEAN_DEBUG = 1 # Debug flag LEAN_DEBUG = 0 # Debug flag
# Database # Database
LEAN_DB_HOST = 'localhost' # Database host LEAN_DB_HOST = 'localhost' # Database host
@ -23,9 +23,9 @@ LEAN_SITENAME = 'Leantime' # Name of your site, can be c
LEAN_LANGUAGE = '__LANGUAGE__' # Default language LEAN_LANGUAGE = '__LANGUAGE__' # Default language
LEAN_DEFAULT_TIMEZONE = '__TIMEZONE__' # Set default timezone LEAN_DEFAULT_TIMEZONE = '__TIMEZONE__' # Set default timezone
LEAN_ENABLE_MENU_TYPE = false # Enable to specifiy menu on a project by project basis LEAN_ENABLE_MENU_TYPE = false # Enable to specifiy menu on a project by project basis
LEAN_SESSION_PASSWORD = '3evBlq9zdUEuzKvVJHWWx3QzsQhturBApxwcws2m' #Salting sessions. Replace with a strong password LEAN_SESSION_PASSWORD = '__KEY__' #Salting sessions. Replace with a strong password
LEAN_SESSION_EXPIRATION = 28800 # How many seconds after inactivity should we logout? 28800seconds = 8hours LEAN_SESSION_EXPIRATION = 28800 # How many seconds after inactivity should we logout? 28800seconds = 8hours
LEAN_LOG_PATH = null # Default Log Path (including filename), if not set /logs/error.log will be used LEAN_LOG_PATH = null # Default Log Path (including filename), if not set /logs/error.log will be used
## Look & Feel, these settings are available in the UI and can be overwritten there. ## Look & Feel, these settings are available in the UI and can be overwritten there.
LEAN_LOGO_PATH = '/images/logo.svg' # Default logo path, can be changed later LEAN_LOGO_PATH = '/images/logo.svg' # Default logo path, can be changed later

View file

@ -10,6 +10,7 @@ source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
timezone="$(cat /etc/timezone)" timezone="$(cat /etc/timezone)"
key=$(ynh_string_random --length=18)
#================================================= #=================================================
# APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC) # APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC)