Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
add pg to Gemfile, fix database.yml to use old format
Browse files Browse the repository at this point in the history
  • Loading branch information
oqpvc committed Apr 27, 2017
1 parent 80aaa17 commit 45fdf31
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ gem 'bcrypt-ruby', '~> 3.0.0'
gem 'sunspot_rails'
gem 'sunspot_solr', require: false

gem 'pg'

group :development, :test do
gem 'pry-rails'
gem 'awesome_print' # console highlighting
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ GEM
parallel (1.3.3)
parallel_tests (1.0.7)
parallel
pg (0.18.4)
polyglot (0.3.5)
pr_geohash (1.0.0)
pry (0.10.1)
Expand Down Expand Up @@ -303,6 +304,7 @@ DEPENDENCIES
meta_request
nokogiri
parallel_tests
pg
pry-rails
rack-livereload
rails (~> 3.2.19)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![Build Status](https://travis-ci.org/kekshd/keks.png?branch=master)](https://travis-ci.org/kekshd/keks)
[![Coverage Status](https://coveralls.io/repos/breunigs/keks/badge.png?branch=master)](https://coveralls.io/r/breunigs/keks?branch=master)
[![Code Climate](https://codeclimate.com/github/breunigs/keks.png)](https://codeclimate.com/github/breunigs/keks)
[![Coverage Status](https://coveralls.io/repos/github/kekshd/keks/badge.svg?branch=master)](https://coveralls.io/github/kekshd/keks?branch=master)
[![Code Climate](https://codeclimate.com/github/kekshd/keks/badges/gpa.svg)](https://codeclimate.com/github/kekshd/keks)


KeKs is a common Rails application and may be installed like any other Rails app. The project is currently available in German only. The following describes one way to set it up on Debian stable.

Expand Down
8 changes: 7 additions & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ test:
timeout: 5000

production:
url: <%= ENV["PRODUCTION_DATABASE_URL"] %>
adapter: <%= ENV['PRODUCTION_DATABASE_ADAPTER'] %>
encoding: <%= ENV['PRODUCTION_DATABASE_ENCODING'] %>
database: <%= ENV['PRODUCTION_DATABASE_DATABASE'] %>
username: <%= ENV['PRODUCTION_DATABASE_USERNAME'] %>
password: <%= ENV['PRODUCTION_DATABASE_PASSWORD'] %>
host: <%= ENV['PRODUCTION_DATABASE_HOST'] %>
port: <%= ENV['PRODUCTION_DATABASE_PORT'] %>

0 comments on commit 45fdf31

Please sign in to comment.