mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
6d3232e70a
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
14 lines
478 B
Bash
14 lines
478 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
echo "Synchronize static data..."
|
|
rsync -avr --delete ./resources/public/static/ ./data/static/
|
|
|
|
if [ -z "$UXBOX_DATABASE_URI" ]; then
|
|
echo "Initializing database connection string..."
|
|
UXBOX_DATABASE_URI="\"postgresql://$(echo ${UXBOX_DATABASE_SERVER} | tr -d '"'):${UXBOX_DATABASE_PORT}/$(echo ${UXBOX_DATABASE_NAME} | tr -d '"')\""
|
|
echo "Database connection string: $UXBOX_DATABASE_URI"
|
|
fi
|
|
|
|
echo "Setting up UXBOX Backend..."
|
|
exec "$@"
|