Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (50 sloc) 1.94 KB
# Basic Rails config.
RACK_ENV=development
RAILS_ENV=development
PORT=3000
# Timeout enforced by the rack-timeout gem.
RACK_TIMEOUT_SERVICE_TIMEOUT=120
# AWS credentials for file storage.
AWS_ACCESS_KEY_ID=access_key_id_from_aws
AWS_SECRET_ACCESS_KEY=secret_access_key_from_aws
AWS_BUCKET=bucket_name_from_aws
# CDN base URL.
ASSET_HOST=asset_host_url
# Redis URL.
REDIS_URL=redis://localhost:6379
# Postgres credentials.
DB_NAME=pupilfirst
DB_NAME_TEST=pupilfirst_test
DB_HOST=localhost
DB_USERNAME=postgres_username
DB_PASSWORD=postgres_password
# Google Calendar integration. TODO: Deprecated, remove this when possible.
GOOGLE_CLIENT_ID=client_id_for_google_calendar
GOOGLE_CLIENT_SECRET=client_secret_for_google_calendar
GOOGLE_OAUTH_REDIRECT_URL=redirect_url_for_google_calendar
GOOGLE_REFRESH_TOKEN=refresh_token_for_google_calendar
GOOGLE_CALENDAR_ID=google_calendar_id
# Keys for setting up OAuth.
GITHUB_KEY=key_for_github_oauth
GITHUB_SECRET=secret_for_github_oauth
FACEBOOK_KEY=key_for_facebook_oauth
FACEBOOK_SECRET=secret_for_facebook_oauth
GOOGLE_OAUTH2_CLIENT_ID=client_id_for_google_oauth
GOOGLE_OAUTH2_CLIENT_SECRET=client_secret_for_google_oauth
# Postmark mailing service.
POSTMARK_API_TOKEN=api_token_from_postmark
POSTMARK_HOOK_ID=bounce_webhook_username_from_postmark
POSTMARK_HOOK_SECRET=bounce_webhook_password_from_postmark
# Domain which has been configured for re-direction after SSO with OAuth.
SSO_DOMAIN=sso.school.localhost
# Which driver to use when running tests. See `rails_helper.rb` for options.
JAVASCRIPT_DRIVER=chrome
# This is the number of seconds capybara will wait for expected content.
CAPYBARA_MAX_WAIT_TIME=5
# Report runtime errors to Rollbar.
ROLLBAR_CLIENT_TOKEN=post_client_item_from_rollbar
ROLLBAR_SERVER_TOKEN=post_server_item_from_rollbar
ROLLBAR_CAPTURE_UNCAUGHT=false
ROLLBAR_CAPTURE_UNHANDLED_REJECTIONS=false
# Maximum number of markdown attachments allowed per day, per user.
MAX_DAILY_MARKDOWN_ATTACHMENTS=50
You can’t perform that action at this time.