Fixes: 1) Correct inconsistent formatting in translation strings; 2) Fix placeholders in email templates for better accuracy; Extra: Update `.gitignore` to include `.env` file exclusion.
30 lines
894 B
Bash
Executable file
30 lines
894 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
source ./scripts/Unix/starter.sh
|
|
|
|
echo "Shutting down..."
|
|
docker compose down
|
|
echo "Services were shut down successfully!"
|
|
|
|
echo "Spinning services up..."
|
|
docker compose up -d --build --wait
|
|
echo "Services are up and healthy!"
|
|
|
|
echo "Applying migrations..."
|
|
docker compose exec app poetry run python manage.py migrate --no-input --verbosity 0
|
|
echo "Migrations applied successfully!"
|
|
|
|
echo "Collecting static files..."
|
|
docker compose exec app poetry run python manage.py collectstatic --no-input --verbosity 0
|
|
echo "Static files collected successfully!"
|
|
|
|
echo "Setting default caches..."
|
|
docker compose exec app poetry run python manage.py set_default_caches
|
|
echo "Default caches set successfully!"
|
|
|
|
echo "Cleaning up unused Docker data..."
|
|
docker system prune -f
|
|
echo "Unused Docker data cleaned successfully!"
|
|
|
|
echo "All done! eVibes is up and running!"
|