obfuscurity / judy

Bespoke service for reviewing CFP submissions
http://obfuscurity.github.io/judy
Other
25 stars 6 forks source link

Where is .env.example? #21

Closed jsindy closed 9 years ago

jsindy commented 9 years ago

Where is .env.example? cant seem to locate it.

obfuscurity commented 9 years ago

Hi @jsindy, it's a very simple file. I don't think it really needs formal documentation.

DATABASE_URL=postgres://127.0.0.1/judy
JUDY_AUTH=user1:pass1,user2:pass2
jsindy commented 9 years ago

absolutely agree, I thought it was for the database info.

I am working on a Dockerfile https://gist.github.com/jsindy/32fec343597293284ad5

Unfortunately doing "bundle exec rake db:migrate:up" had no idea about the DB info. Not sure if I need a database.yml or where to put it.

obfuscurity commented 9 years ago

You don't need a database.yml file, and I've certainly never used one. You just need to make sure the DATABASE_URL is set accordingly. Now that you mention it, I don't think bundler reads those files, so you'll need to export DATABASE_URL or call it explicitly with the bundle command.

jsindy commented 9 years ago

will try, thanks!