mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Fix configuration wizard
This commit is contained in:
parent
9bd3c06054
commit
02be684b8b
1 changed files with 7 additions and 2 deletions
9
tasks.py
9
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
|
||||
|
|
Loading…
Reference in a new issue