canva-render/run.sh
2023-12-19 14:39:13 +08:00

10 lines
248 B
Bash

#!/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