Compare commits

..

No commits in common. "ab093c04bd547bd48754b8496c2732f90029dbc0" and "bd371dfcf27d00e79e0a1cd0002469817d15be4b" have entirely different histories.

3 changed files with 6 additions and 6 deletions

View File

@ -33,14 +33,14 @@ def verbosity(ctx, param, value):
"""Toggle verbosity between WARNING <-> DEBUG"""
if not value or ctx.resilient_parsing:
return
configure_logger(cli=30 - max(0, min(value * 10, 20)))
configure_logger(cli=40 - max(0, min(value * 10, 30)))
@click.group(
cls=FlaskGroup,
add_version_option=False,
add_default_commands=False,
create_app=lambda: create_app(cli=30),
create_app=lambda: create_app(cli=True),
)
@click.option(
"--version",

View File

@ -17,7 +17,7 @@ class AuthPlain(AuthPlugin):
def install(self):
plugins_installed(self.post_install)
def post_install(self, **kwargs):
def post_install(self):
if User.query.filter(User.deleted == False).count() == 0:
logger.info("Installing admin user")
role = Role.query.filter(Role.name == "Superuser").first()

View File

@ -67,13 +67,13 @@ If not you need to create user and database manually do (or similar on Windows):
Then you can install the database tables and initial entries:
$ flaschengeist install
run_flaschengeist install
### Run
$ flaschengeist run
run_flaschengeist run
or with debug messages:
$ flaschengeist run --debug
run_flaschengeist run --debug
This will run the backend on http://localhost:5000