olo / start.sh
Techbitforge's picture
Update start.sh
1df9efd verified
raw
history blame
380 Bytes
#!/bin/bash
# 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