You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a file called `config.env` that contains environment variables in the following syntax: `ENVIRONMENT_VARIABLE=value`. For example,
82
76
the mailing environment variables can be set as the following. We recommend using Sendgrid for a mailing SMTP server. But anything else will work as well.
77
+
83
78
```
84
79
MAIL_USERNAME=SendgridUsername
85
80
MAIL_PASSWORD=SendgridPassword
86
81
SECRET_KEY=SuperRandomStringToBeUsedForEncryption
87
82
```
83
+
84
+
Other Key value pairs:
85
+
86
+
*`ADMIN_EMAIL`: set to the default email for your first admin account (default is `flask-base-admin@example.com`)
87
+
*`ADMIN_PASSWORD`: set to the default password for your first admin account (default is `password`)
88
+
*`DATABASE_URL`: set to a postgresql database url. By default will point to data-dev.sqlite
89
+
*`REDISTOGO_URL`: set to Redis To Go URL or any redis server url (default `http://localhost:6379`)
90
+
*`RAYGUN_APIKEY`: api key for raygun (default is `None`)
91
+
*`FLASK_CONFIG`: can be `development`, `production`, `default`, `heroku`, `unix`, or `testing`. Most of the time you will use `development` or `production`.
92
+
93
+
88
94
**Note: do not include the `config.env` file in any commits. This should remain private.**
0 commit comments