The following is an overview of the site start-up process including the subscribable events. The following process occurs in the order it's presented in.
pre-boot: Triggered at the beginning of the Site instantiation. The only thing that has happened at this point is signal creation.
[ Internal pre-boot logic occurs ]
pre-app-start: Triggered before the Flask application is created.
[ Flask application is created, routes are registered, error handlers are registered and logging is started ]
post-app-start: Triggered after the application has been created.
pre-config: Triggered before the configuration is loaded.
[ Config loaded and added to Flask application, theme folder is setup, meta-inf regex is compiled ]
post-config: Triggered after the configuration is loaded.
pre-content-scan: Triggered before the content directory is scanned.
[ The content directory is scanned and pages are created for each content file, the navigation object is created and the navigation context processor is created ]
post-content-scan: Triggered before the content directory is scanned.
[ Internal post-boot logic occurs ]
post-boot: Triggered after all site setup is complete and the application is ready to start handling requests.