We need to deploy our Rails application to a production environment and set up Continuous Integration (CI) to automatically run tests on each push or pull request to the main branch. This will ensure that our application is always in a deployable state and that tests are run consistently, improving code quality and catching issues early.
Key Steps:
Prepare the Rails app for production by configuring necessary settings.
Deploy the app to a hosting platform on Heroku or AWS (whichever is easiest).
Set up a production database and ensure migrations are run.
Implement CI (GitHub actions can be used) to automatically run tests on code pushes and pull requests.
Acceptance Criteria
[ ] Production environment is configured for the app.
[ ] Application is deployed to a chosen hosting platform.
[ ] Database is properly set up and migrations run successfully in production.
[ ] CI pipeline is implemented to run automated tests on push and pull_request events.
[ ] Tests pass successfully in the CI environment.
Description
We need to deploy our Rails application to a production environment and set up Continuous Integration (CI) to automatically run tests on each push or pull request to the main branch. This will ensure that our application is always in a deployable state and that tests are run consistently, improving code quality and catching issues early.
Key Steps:
Acceptance Criteria
push
andpull_request
events.