A init configuration for flask