Open benilovj opened 5 years ago
The setup on manage-courses-backend
doesn't include Yarn and the setup on manage-courses-frontend
doesn't include PostgreSQL.
Once https://github.com/DFE-Digital/manage-courses-support/pull/82/files is finished then we'll have a complete setup that includes Yarn and PostgreSQL 👌
In addition to Dockerising this app can we also update the REAMDE section on deploying to GOV.UK PaaS to reflect container based deploy.
Context
Some DfE teams are using Docker to deploy and run their Rails apps to production. It'd be helpful to dockerise this repo so that other teams can adopt this approach easily.
Background
There is prior art in GitHub already, see the Manage Courses Frontend:
https://github.com/DFE-Digital/manage-courses-frontend/pull/46 (Switching to Alpine) https://github.com/DFE-Digital/manage-courses-frontend/pull/30 (DRYing the scripts) https://github.com/DFE-Digital/manage-courses-frontend/pull/11 (Original work)
This includes a
yarn
-backed asset pipeline.Previous attempts
https://github.com/DFE-Digital/govuk-rails-boilerplate/pull/26