Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally generate config to support RAILS_ENV=staging #58

Merged
merged 2 commits into from Apr 10, 2024
Merged

Conversation

mattbrictson
Copy link
Owner

@mattbrictson mattbrictson commented Apr 10, 2024

Apps of course have a production environment, but most also have a secondary deployment environment: e.g., staging, preview, acceptance. Setting up this secondary environment takes a couple extra steps that nextgen can automate.

  • Create config/environments/staging.rb that inherits from production
  • Modify cable.yml and database.yml to create a :staging section that is similar to production

@mattbrictson mattbrictson added the ✨ Feature Adds a new feature label Apr 10, 2024
@mattbrictson mattbrictson marked this pull request as ready for review April 10, 2024 16:15
@mattbrictson mattbrictson added the automerge Automatically merge PR once all required checks pass label Apr 10, 2024
@kodiakhq kodiakhq bot merged commit 2d8bab4 into main Apr 10, 2024
8 checks passed
@kodiakhq kodiakhq bot deleted the staging branch April 10, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PR once all required checks pass ✨ Feature Adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant