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 17:37:24 +00:00
|
|
|
if [ -r "$REQUIREMENTS_PATH" ]; then
|
2023-01-05 23:48:05 +00:00
|
|
|
pip install --no-cache-dir -r "$REQUIREMENTS_PATH"
|
2023-01-05 00:07:49 +00:00
|
|
|
fi
|
|
|
|
|
2023-01-05 05:54:41 +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:52:43 +00:00
|
|
|
|
2023-01-05 05:28:48 +00:00
|
|
|
python -mvoila --no-browser --port=80 --Voila.ip=0.0.0.0 --autoreload=True $VOILA_OPTIONS
|