Acceptance Criteria
- The code from the GitHub repository wmde/FundraisingFrontend is split into two repositories on GitLab, one with the client-side code named fundraising-app-frontend and one with the server side code named fundraising-app. The Git history of all files in both repositories must be preserved!
- Both repositories have a CI piepeline set up (replacing the existing Travis pipeline).
- The client-side repository has an automated build pipeline of a docker image that serves the JS and CSS assets.
- The deployment playbook is adapted - the repository name has changed and it has two additional tasks to clone the client-side repo and build the assets from there
- (Optional) Change data attribute in templates to script tag
NOT in this MVP
- Changes on how we render templates See T248460: Remove Twig templating engine for future plans
- static html for a development version of the client-side code
- Replacing the skins_laika container
- Pipeline for automatically building the assets
Implementation notes
- skins/laika/templates needs to remain in the server-side code for now. See T248460: Remove Twig templating engine for future plans
- The dev environment of the server side code may still use the assets-path config entry to load the client-side assets from the client-side development server.
- Start building the client-side code repo. See this StackOverflow question for how to split a subdirectory into a new repository: https://stackoverflow.com/questions/359424/detach-move-subdirectory-into-separate-git-repository