-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
73 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# PostgreSQL. Versions 8.2 and up are supported. | ||
# | ||
# Install the pg driver: | ||
# gem install pg | ||
# On Mac OS X with macports: | ||
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config | ||
# On Windows: | ||
# gem install pg | ||
# Choose the win32 build. | ||
# Install PostgreSQL and put its /bin directory on your path. | ||
# | ||
# Configure Using Gemfile | ||
# gem 'pg' | ||
# | ||
development: | ||
adapter: postgresql | ||
host: localhost | ||
encoding: unicode | ||
database: FitFree_development | ||
pool: 5 | ||
username: FitFree | ||
password: | ||
template: template0 | ||
|
||
# Connect on a TCP socket. Omitted by default since the client uses a | ||
# domain socket that doesn't need configuration. Windows does not have | ||
# domain sockets, so uncomment these lines. | ||
#host: localhost | ||
#port: 5432 | ||
|
||
# Schema search path. The server defaults to $user,public | ||
#schema_search_path: myapp,sharedapp,public | ||
|
||
# Minimum log levels, in increasing order: | ||
# debug5, debug4, debug3, debug2, debug1, | ||
# log, notice, warning, error, fatal, and panic | ||
# The server defaults to notice. | ||
#min_messages: warning | ||
|
||
# Warning: The database defined as "test" will be erased and | ||
# re-generated from your development database when you run "rake". | ||
# Do not set this db to the same as development or production. | ||
test: | ||
adapter: postgresql | ||
host: localhost | ||
encoding: unicode | ||
database: FitFree_test | ||
pool: 5 | ||
username: FitFree | ||
password: | ||
template: template0 | ||
|
||
production: | ||
adapter: postgresql | ||
host: localhost | ||
encoding: unicode | ||
database: FitFree_production | ||
pool: 5 | ||
username: FitFree | ||
# password: | ||
# template: template0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,7 @@ | |
# http://edgeguides.rubyonrails.org/security.html#custom-credentials | ||
|
||
development: | ||
admin_name: First User | ||
admin_email: [email protected] | ||
admin_password: 123456789 | ||
email_provider_username: <%= ENV["SENDGRID_USERNAME"] %> | ||
email_provider_password: <%= ENV["SENDGRID_PASSWORD"] %> | ||
domain_name: example.com | ||
mailchimp_api_key: <%= ENV["MAILCHIMP_API_KEY"] %> | ||
mailchimp_list_id: <%= ENV["MAILCHIMP_LIST_ID"] %> | ||
secret_key_base: very_long_random_string | ||
telegram_token: '699449238:AAG65ShGj918_sWg60k_W9xeHK7orsr0ZE0' | ||
google_client_id: 752276571199-9dfahm6g9oert5765gf7m0nmi0t0ea85.apps.googleusercontent.com | ||
|
@@ -36,14 +29,8 @@ test: | |
# Do not keep production secrets in the repository, | ||
# instead read values from the environment. | ||
production: | ||
admin_name: <%= ENV["ADMIN_NAME"] %> | ||
admin_email: <%= ENV["ADMIN_EMAIL"] %> | ||
admin_password: <%= ENV["ADMIN_PASSWORD"] %> | ||
email_provider_username: <%= ENV["SENDGRID_USERNAME"] %> | ||
email_provider_password: <%= ENV["SENDGRID_PASSWORD"] %> | ||
domain_name: <%= ENV["DOMAIN_NAME"] %> | ||
mailchimp_api_key: <%= ENV["MAILCHIMP_API_KEY"] %> | ||
mailchimp_list_id: <%= ENV["MAILCHIMP_LIST_ID"] %> | ||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> | ||
telegram_token: '699449238:AAG65ShGj918_sWg60k_W9xeHK7orsr0ZE0' | ||
google_client_id: 752276571199-9dfahm6g9oert5765gf7m0nmi0t0ea85.apps.googleusercontent.com | ||
|