pull down to refresh
I agree, that is something that came up for me too... I would have the compose file link a
.env.local
file and git ignore this.reply
Yep, I'll add that to the list of things to fix
reply
Not having a substantial database seed was challenging at times.
I built a seed a few weeks ago but haven't incorporated it yet. Good reminder!
reply
Awesome!
reply
What's a database seed?
reply
It's basically an initial set of data populated into a database.
The source code repo contains the database schema itself, so when you stand it up locally, the structure (all the tables) are in place. But, for the most part, they're empty tables. So when you open up SN locally, there's minimal posts, comments, users, etc.
A database seed would populate test data into the database, making it easier to develop or test certain features because you have test/sample data to work with.
reply
.env
instead of the sample.env
. I chose this option so I could modify.env
without risk of committing it with secrets. Maybe there's some support for implicit dev.env
file overrides so I don't have to carry this diff?