Commit b6ae47bd authored by Milan's avatar Milan

add database.yml, initial gemfile changes

parent 886dcc16
source 'https://rubygems.org'
gem 'geocoder'
gem 'simple_form', '~> 3.2'
gem 'bootstrap-sass', '~> 3.3'
gem "redcarpet", "3.3.4"
gem "pg", "0.18.4"
#gem "devise"
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.0.1'
gem 'rails', '~> 5.0.0'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platform: :mri
gem 'listen'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
mysql: &mysql
adapter: mysql2
host: "localhost"
port: 3306
username: "root"
password:
# socket: /tmp/mysql.sock
encoding: utf8mb4
collation: utf8mb4_bin
postgresql: &postgresql
adapter: postgresql
host: 127.0.0.1
port: 5432
username: postgres
password:
encoding: unicode
# Comment the the mysql line and uncomment the postgres line
# if you want to use postgres
common: &common
# Choose one of the following
<<: *postgresql
#<<: *mysql
##################################################
#### CONFIGURE ABOVE #############################
##################################################
# Normally you don't need to touch anything here
combined: &combined
<<: *common
development:
<<: *combined
database: illunahp_development
production:
<<: *combined
database: illunahp_production
test:
<<: *combined
database: illunahp_test
integration1:
<<: *combined
database: illunahp_integration1
integration2:
<<: *combined
database: illunahp_integration2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment