tibbs001 / ctgov

Retrieve all studies from clinicaltrials.gov, aggregate them into a flattened relational database.
MIT License
3 stars 0 forks source link

hi do you have a database.yml_sample kicking around? #1

Open leipzig opened 5 years ago

leipzig commented 5 years ago

config/database.yml_sample

tibbs001 commented 5 years ago

Hi Jeremy. Hoping I can help you with this, but I need to be away from work for a week. I haven't documented this, so would be very difficult to stand up an instance - even for someone with lots of RoR experience. I intend to prioritize this, so hope to have a chance to develop instructions within next few weeks. Will be in touch.

Sheri

The database.yml is:

default: &default encoding: utf8 adapter: postgresql min_messages: warning pool: <%= [Integer(ENV.fetch("MAX_THREADS", 5)), Integer(ENV.fetch("DB_POOL", 5))].max %> timeout: 5000 username: <%= ENV.fetch("AACT_DB_SUPER_USERNAME", "") %>

development: <<: *default url: <%= ENV.fetch("AACT_BACK_DATABASE_URL", "") %>

test: <<: *default database: aact_back_test

production: <<: *default url: <%= ENV.fetch("AACT_BACK_DATABASE_URL", "") %>

public: <<: *default url: <%= ENV.fetch("AACT_PUBLIC_DATABASE_URL", "") %>

On Fri, Feb 22, 2019 at 12:46 PM Jeremy Leipzig notifications@github.com wrote:

config/database.yml_sample

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tibbs001/ctgov/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLfK24ZGW9LsmVqLt5MGsM18TMNSZlsks5vQFcsgaJpZM4bKXcC .