2018-05-27 22:40:42 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
func main() {
|
2018-07-24 14:42:03 +08:00
|
|
|
exitIfError(loggerCreate())
|
2018-07-24 14:41:01 +08:00
|
|
|
exitIfError(configParse())
|
2018-07-24 14:50:14 +08:00
|
|
|
exitIfError(dbConnect(5))
|
2018-07-24 14:51:59 +08:00
|
|
|
exitIfError(migrate())
|
2018-05-27 22:40:42 +08:00
|
|
|
exitIfError(smtpConfigure())
|
2018-06-09 17:50:01 +08:00
|
|
|
exitIfError(smtpTemplatesLoad())
|
2018-05-27 22:40:42 +08:00
|
|
|
exitIfError(oauthConfigure())
|
2018-07-24 14:43:23 +08:00
|
|
|
exitIfError(markdownRendererCreate())
|
2019-02-19 00:23:44 +08:00
|
|
|
exitIfError(emailNotificationPendingResetAll())
|
|
|
|
exitIfError(emailNotificationBegin())
|
2018-07-24 14:44:25 +08:00
|
|
|
exitIfError(sigintCleanupSetup())
|
2018-08-17 02:15:59 +08:00
|
|
|
exitIfError(versionCheckStart())
|
2019-01-31 15:06:11 +08:00
|
|
|
exitIfError(domainExportCleanupBegin())
|
2019-01-31 15:19:12 +08:00
|
|
|
exitIfError(viewsCleanupBegin())
|
2018-05-27 22:40:42 +08:00
|
|
|
|
2018-07-24 14:45:25 +08:00
|
|
|
exitIfError(routesServe())
|
2018-05-27 22:40:42 +08:00
|
|
|
}
|