amatriain / feedbunch

A simple and elegant feed reader.
http://feedbunch.com
MIT License
84 stars 11 forks source link

Creating the database to contribute to the project #10

Open yogodoshi opened 8 years ago

yogodoshi commented 8 years ago

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 :)

yogodoshi commented 8 years ago

Same thing about the secrets.yml.

Can we make it explicit or try to automatize it on bin/setup?

amatriain commented 8 years ago

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:

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.