latin-language-toolkit / llt-db_handler

Classes used by llt gems to communicate with stem databases
MIT License
0 stars 1 forks source link

db tasks should take username and password as arguments #3

Open balmas opened 10 years ago

balmas commented 10 years ago

it's a little confusing to try to deploy the database -- the db:create and db:seed tasks take a :host parameter, but the rakefile has the username hardcoded, and the password comes from the database.yml

In order to use the llt deploy client tool for this I think we need to be able to pass host, username and password to the rake task.

LFDM commented 10 years ago

Ok, just adding a couple of thoughts on how to implement this then:

balmas commented 10 years ago

@LFDM so I guess we have the ability to seed a remote db , but not yet the ability to deploy a compiled war which references that same db in the database.yml ?