Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

3 watching

Forks

Repository files navigation

DigitizationAcademy

Deployment

  • Deployments run through GitHub Actions + Deployer 8 (.github/workflows/deploy.yml, deploy.php, deploy/custom.php).
  • Production: pushing or merging to main calculates the next version, deploys to production (3.142.169.134), and creates a GitHub release. Add [skip deploy] or [no deploy] to the commit message to push without deploying.
  • Development: pushes to development don't deploy. Run the workflow manually (Actions → Build and Deploy → Run workflow → development) to deploy to the development server (3.138.217.206).
  • Assets are built in CI and downloaded as an artifact; the server doesn't build them.
  • Releases live under /data/web/digitizationacademy/releases/<n>, with current pointing at the active one. Both servers serve it with PHP 8.5 (php8.5-fpm).
  • Queues run under Horizon (Supervisor program da:da-horizon_00). After a deploy, check php artisan horizon:status and that horizon:work processes stay up, not just that Supervisor shows RUNNING.

Environment

  • The server's .env is generated from AWS SSM Parameter Store (/digitizationacademy/<environment>) on every deploy by the env:ssm task from the shared deployer-recipes package (set('ssm_app', 'digitizationacademy') in deploy.php). It keeps the last 5 .env.backup.* files in shared/.
  • Manage the parameters from your machine:
    • vendor/bin/push-env-params digitizationacademy <development|production> pushes .env.aws.<environment> to SSM.
    • vendor/bin/remove-env-params digitizationacademy <development|production> deletes every parameter under that path, after you type the environment name to confirm.
  • Keep .env.aws.* files out of git (covered by .gitignore).

License

DigitizationAcademy is open-sourced software licensed under GNU General Public License v3.0.

Translation

Translation by https://translation.io

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages