2023-01-05 00:07:49 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-01-05 05:52:43 +00:00
|
|
|
cd "$VOILA_DIRECTORY" || true
|
2023-01-05 00:07:49 +00:00
|
|
|
|
2023-01-05 05:28:48 +00:00
|
|
|
if [-eq "$REQUIREMENTS_PATH" ]; then
|
2023-01-05 00:07:49 +00:00
|
|
|
pip install -r "$REQUIREMENTS_PATH"
|
|
|
|
fi
|
|
|
|
|
2023-01-05 05:52:43 +00:00
|
|
|
pip freeze |grep voila || pip install voila==VOILA_VERSION
|
|
|
|
pip freeze |grep notebook || pip install notebook==NOTEBOOK_VERSION
|
|
|
|
pip freeze |grep ipykernel || pip install ipykernel==IPYKERNEL_VERSION
|
|
|
|
|
2023-01-05 05:28:48 +00:00
|
|
|
python -mvoila --no-browser --port=80 --Voila.ip=0.0.0.0 --autoreload=True $VOILA_OPTIONS
|