canva-render/run.sh

11 lines
248 B
Bash
Raw Normal View History

2023-12-19 06:39:13 +00:00
#!/bin/sh
pwd
ls
poetry env use /usr/bin/python3.11
poetry install
poetry run playwright install firefox && poetry run playwright install-deps
CANVA_EDIT_URL=$2 poetry run python serve.py &
sleep 180
# poetry run python render_controller.py -f $1