Skip to content

Commit 695621a

Browse files
committed
Se añade playwright install post intalación de venv
1 parent 107f38d commit 695621a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

fabricator/recipes.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,15 @@ def install_deps(c: Connection | DockerRunner | Context, config: dict) -> None:
241241
pty=True
242242
)
243243

244+
# Install Playwright browsers
245+
logger.info("Installing Playwright browsers...")
246+
c.run(
247+
f"bash -c 'source {venv_dir}/bin/activate && "
248+
f"cd {deploy_path} && "
249+
f"playwright install'",
250+
pty=True
251+
)
252+
244253
def migrate(c: Connection | DockerRunner | Context, config: dict) -> None:
245254
"""
246255
Run Django migrations and optionally run `db_seed`.

0 commit comments

Comments
 (0)