Fix configuration wizard
parent
9bd3c06054
commit
02be684b8b
9
tasks.py
9
tasks.py
|
@ -129,10 +129,15 @@ def download_twemoji(ctx):
|
||||||
f.write(tf.extractfile(member).read()) # type: ignore
|
f.write(tf.extractfile(member).read()) # type: ignore
|
||||||
|
|
||||||
|
|
||||||
@task(download_twemoji, compile_scss, migrate_db)
|
@task(download_twemoji, compile_scss)
|
||||||
def configuration_wizard(ctx):
|
def configuration_wizard(ctx):
|
||||||
# type: (Context) -> None
|
# 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
|
@task
|
||||||
|
|
Loading…
Reference in New Issue