Spaces:
Runtime error
Runtime error
# Check if database exists | |
if [ ! -f "${PUFFER_DATA_DIR}/data.db" ]; then | |
echo "First run detected - creating admin user" | |
pufferpanel user add ${ADMIN_USERNAME} \ | |
--email "${ADMIN_USERNAME}@example.com" \ | |
--password "${ADMIN_PASSWORD}" \ | |
--admin | |
fi | |
# Start PufferPanel | |
echo "Starting PufferPanel on port ${PANEL_PORT}" | |
pufferpanel run |