From 02be684b8b463dfbf48dc4e04ddce1024bb35d76 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 9 Aug 2022 22:29:01 +0200 Subject: [PATCH] Fix configuration wizard --- tasks.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tasks.py b/tasks.py index 2eb3327..5a6818f 100644 --- a/tasks.py +++ b/tasks.py @@ -129,10 +129,15 @@ def download_twemoji(ctx): f.write(tf.extractfile(member).read()) # type: ignore -@task(download_twemoji, compile_scss, migrate_db) +@task(download_twemoji, compile_scss) def configuration_wizard(ctx): # type: (Context) -> None - run("PYTHONPATH=. python scripts/config_wizard.py", pty=True, echo=True) + run("MICROBLOGPUB_CONFIG_FILE=tests.toml alembic upgrade head", echo=True) + run( + "MICROBLOGPUB_CONFIG_FILE=tests.toml PYTHONPATH=. python scripts/config_wizard.py", # noqa: E501 + pty=True, + echo=True, + ) @task