Mercurial Hosting > nabble
annotate conf/setup.luan @ 40:f770c4076954
add install doc
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Tue, 14 Jul 2020 22:06:41 +0300 |
parents | 862b1ef23e75 |
children |
rev | line source |
---|---|
18 | 1 java() |
2 local Luan = require "luan:Luan.luan" | |
3 local error = Luan.error | |
4 local LoggerFactory = require "java:org.slf4j.LoggerFactory" | |
5 local Log4j = require "java:nabble.utils.Log4j" | |
6 local Init = require "file:conf/Init.luan" | |
7 | |
8 Log4j.initForConsole() | |
9 local logger = LoggerFactory.getLogger("serve_nabble"); | |
10 | |
11 local DbGlobalUpdater = require "java:nabble.model.DbGlobalUpdater" | |
12 DbGlobalUpdater.updateGlobal() | |
13 logger.info "db update done" |