-
Notifications
You must be signed in to change notification settings - Fork 4
Deploying to Production
Andreas Gohr edited this page Nov 22, 2023
·
2 revisions
The master branch is automatically deployed to the DokuWiki server.
Details can be seen in the deploy action.
Basically it will:
- create a
.env.localfile with the appropriate secrets for running on production - install the composer dependencies (without dev dependencies)
- build the JavaScript and CSS (removing dev dependencies afterwards)
- create a backup of the database on the server in
/var/www/translate/backup/ - rsync the results to the server to
/var/www/translate/application/ - run database migrations and housekeeping on the server
All secrets are defined as repository secrets at Github.
Process
- Translation process
- CronJob overview triggers some commands.
- Commands for regular tasks and occasional maintenance
Files
Maintenance/development
- Deploying to Production is done from GitHub
- Development setup
- Maintenance
- Alternative Git interaction when setting up development setup
- Test steps for checking working of the tool
Documentation
- Components of Symphony used for the Tool
- More detail about using Doctrine
- Description working of the Forms