mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
9c61389830
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
14 lines
483 B
Bash
14 lines
483 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="\"jdbc: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 "$@"
|