Open yogodoshi opened 8 years ago
Same thing about the secrets.yml
.
Can we make it explicit or try to automatize it on bin/setup?
Actually bin/setup was created automatically by the scripts for the migration to Rails 4.2, and it hasn't been changed since then. It is not useful in its current state.
Currently running the app involves creating by hand some files:
datababase.yml
(database.yml.ci
can be copied, it will use sqlite which may be enough for some setups)secrets.yml
(secrets_ci.yml
can be copied, then rake secret
can be run to get keys to replace the secret_key_base
and devise_secret_key
placeholders in the production section) This should absolutely be automated to some extent. Also some wiki pages should be written to help people who want to self-host and prefer using a RDBMS different from sqlite. I will get around to it eventually, but of course PRs are welcome.
Hi guys, I cloned the repo but had a problem creating the database with
bin/setup
because the part of the setup that does it is commented (as the database.yml.sample doesnt exist anymore, I guess).How should people create the database? I used the
database.yml.ci
but if this was the intention we could make it clear in the bin/setup :)