Skip to content

Setup dotenv#420

Merged
coorasse merged 3 commits intomainfrom
update-asg
Feb 10, 2026
Merged

Setup dotenv#420
coorasse merged 3 commits intomainfrom
update-asg

Conversation

@coorasse
Copy link
Member

@coorasse coorasse commented Sep 11, 2025

Setting up a new project, I don't really want to setup dotenv manually.
Here I am automating its installation but also introducing a new opt-out feature.
I'd like to be able to opt-out also from other things, like renuocop or renuo-cli, but I'll do that in a separate PR.
cc @CuddlyBunion341

@coorasse coorasse self-assigned this Sep 11, 2025
where the `project-name` is exactly the one you chose before.

> ⚠️ You may want to choose a different database than Postgres, but most of the time this will be your choice.\
> If you do not need a DB you may rethink the fact that you may not need Rails at all: Take a look at [Sinatra](http://www.sinatrarb.com/) or [Angular](https://angular.io/)\
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What a shitty suggestion. It is not the fact that you have a database or not that should make consider alternative frameworks.

@coorasse coorasse changed the title Some updates Setup dotenv Sep 11, 2025
* Run `bin/setup`

* Run `bundle exec rails db:migrate` to generate an empty `schema.rb` file.
* Run `bin/setup`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we first need to run db:migrate

@coorasse coorasse force-pushed the update-asg branch 2 times, most recently from 8360c61 to 065fc90 Compare September 11, 2025 15:28
@coorasse coorasse marked this pull request as ready for review September 11, 2025 15:29
@coorasse coorasse requested a review from a team September 11, 2025 15:29
@bruno-costanzo bruno-costanzo self-requested a review September 11, 2025 21:11
@coorasse
Copy link
Member Author

Note that the dotenv-rails can be dropped in rails 8.2

@coorasse coorasse merged commit 0177ba7 into main Feb 10, 2026
2 checks passed
@coorasse coorasse deleted the update-asg branch February 10, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants