2021-10-28 22:55:51 +08:00
|
|
|
---
|
|
|
|
order: 3
|
|
|
|
---
|
|
|
|
|
|
|
|
# Installation and Startup Process
|
|
|
|
|
2021-11-28 21:01:08 +08:00
|
|
|
## app.init
|
2021-10-28 22:55:51 +08:00
|
|
|
|
2021-11-28 21:01:08 +08:00
|
|
|
- app.load()
|
|
|
|
- db.sync()
|
|
|
|
- db.emitAsync('init')
|
2021-10-28 22:55:51 +08:00
|
|
|
|
2021-11-28 21:01:08 +08:00
|
|
|
## app.start
|
2021-10-28 22:55:51 +08:00
|
|
|
|
2021-11-28 21:01:08 +08:00
|
|
|
- app.load()
|
|
|
|
- db.emitAsync('start')
|
|
|
|
- Load the collections configuration in the database
|
|
|
|
- Load the pm configuration in the database
|
|
|
|
- Start the activated plugin
|
|
|
|
- app.listen()
|