pontoon/docker/server_setup.sh

15 строки
349 B
Bash
Executable File

#!/bin/sh
# Runs steps needed only once for the server
cd /app
echo "Creating a new django superuser"
python manage.py createsuperuser
echo "Updating authentication provider settings"
python manage.py update_auth_providers
echo "Running migration of the pontoon-intro module"
python manage.py sync_projects --projects=pontoon-intro --no-commit