mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-06-24 14:27:43 +08:00
15 lines
311 B
JavaScript
15 lines
311 B
JavaScript
require('./logs')
|
|
const { createServer } = require('./server')
|
|
const initDB = require('./db')
|
|
const scheduleJob = require('./schedule')
|
|
const { startActivation } = require('./utils/get-plus')
|
|
|
|
async function main() {
|
|
await initDB()
|
|
createServer()
|
|
scheduleJob()
|
|
startActivation()
|
|
}
|
|
|
|
main()
|