geeksforsocialchange / PlaceCal

Bring your community together
https://placecal.org
GNU Affero General Public License v3.0
17 stars 8 forks source link

Update makefile to enable build with production data or seed data #1967

Closed r-ferrier closed 10 months ago

r-ferrier commented 1 year ago

Description

It would be great for the setup_with_docker make command to now build everything with seed data:

rails db:create
rails db:migrate
rails db:seed

And to add a setup_prod_copy_with_docker option to build as we currently do

ivan-kocienski-gfsc commented 1 year ago

I think as part of the dealing with technical debt we should look at all these different ways of provisioning PC instances and try to come up with a "prefered option".

so far i can think of these ways of setting up PC:

a few suggestions:

ivan-kocienski-gfsc commented 1 year ago

I am going to leave this one for the devs that use the makefile the most in their workflows.

kimadactyl commented 1 year ago

I think the Docker route makes a lot of sense, and that ./bin/setup should point to that instead of what it does now so we only have 1 official install method. Generally keeping things in that standard location is good repo organsation, I think. @erbridge I think had some link about this a while ago but I can't remember what it was now!

r-ferrier commented 10 months ago

closing as linked to from #2088