forked from AgileVentures/shf-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
82 lines (62 loc) · 2.57 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# The system expects the following variables (keys) and values to be set
# in the operating system environment or in a .env file.
#
# This file is an *example* to show you the variables that are expected.
# The deployment keys and values MUST be in a file named '.env' (See below)
#
# Contact the project admin to get the real values.
#
# DO NOT EVER COMMIT THE .env FILE TO GitHub OR ANY OTHER REPOSITIORY.
# YOUR .gitignore SHOULD INCLUDE .env SO THIS NEVER HAPPENS.
# -----------------------------------
# Keys and values used by the system:
# -----------------------------------
#
# These MUST be defined as environment variables in your operating system.
# You must have a valid Google API key. (Contact the project admin for the
# key for this project.)
GOOGLE_MAP_API=1234567890
SHF_ADMIN_PWD='hello'
SHF_ADMIN_EMAIL='[email protected]'
SHF_PROJECT_DATABASE_PASSWORD='project_db_password'
SECRET_KEY_BASE='some_long_string'
PAPERCLIP_HASH_SECRET='some_long_string'
# ------------------------------------------
# These are optional environment variables:
#
RAILS_MAX_THREADS='5' # default (used in database.yml, puma.rb)
BUNDLE_GEMFILE='Gemfile' # default (used in bin/bundle, config/boot.rb)
PORT=3000 # default (used in puma.rb)
RAILS_SERVE_STATIC_FILES # (used in config/environments/production.rb)
RAILS_LOG_TO_STDOUT # (used in config/environments/production.rb)
HEROKU_STAGING # (used in db/seeds.rb)
MAILGUN_API_KEY=app-account-key
MAILGUN_DOMAIN=app-email-domain
# -------------------------------------------
# Keys and values required for backups to AWS:
# -------------------------------------------
#
# These must be defined as environment variables in your operating system.
# Credentials:
SHF_AWS_S3_BACKUP_KEY_ID='your_aws_s3_key_id'
SHF_AWS_S3_BACKUP_SECRET_ACCESS_KEY='your_aws_s3_access_key'
# Backups storage location:
SHF_AWS_S3_BACKUP_REGION='region-id'
SHF_AWS_S3_BACKUP_BUCKET='bucket-name'
SHF_AWS_S3_BACKUP_PATH='path/to/backups'
# ----------------------------------------
# Keys and values required for deployment:
# ----------------------------------------
#
# You must have a file named '.env' with these keys and values set.
# The Capistrano scripts use the 'dotenv' gem to read them from a .env file.
#
# You should make a copy of this file and name it '.env' and
# replace the values below with the real values needed.
#
# (If you are not deploying to the production server, you do not need worry
# about the real values for these.)
PRODUCTION_SERVER=xxx.xxx.xxx.xxx
DEPLOY_USER=some_user
APP_PATH=/path/to/app
BRANCH=vcs_branch