Skip to content

Commit 7b1b9b1

Browse files
committed
change env config and moved around readme stuff
1 parent 840eec7 commit 7b1b9b1

11 files changed

Lines changed: 4 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ webassets-external/
44
*.pyc
55
*.pyo
66
env
7-
.env
87
venv
8+
.env
99
env*
1010
dist
1111
*.egg

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $ xcode-select --install
7070

7171
##### Add Environment Variables
7272

73-
Create a file called `.env` that contains environment variables in the following syntax: `ENVIRONMENT_VARIABLE=value`. For example,
73+
Create a file called `config.env` that contains environment variables in the following syntax: `ENVIRONMENT_VARIABLE=value`. For example,
7474
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.
7575
```
7676
MAIL_USERNAME=SendgridUsername

logo.png

-6.62 KB
Binary file not shown.

logo@2x.png

-12.4 KB
Binary file not shown.

manage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
from app import create_app, db
1212
from app.models import Role, User
1313

14-
if os.path.exists('.env'):
14+
if os.path.exists('config.env'):
1515
print('Importing environment from .env file')
16-
for line in open('.env'):
16+
for line in open('config.env'):
1717
var = line.strip().split('=')
1818
if len(var) == 2:
1919
os.environ[var[0]] = var[1]

readme_gifs/adduser.gif

-482 KB
Binary file not shown.

readme_gifs/admin.gif

-2.36 MB
Binary file not shown.

readme_gifs/editpage.gif

-753 KB
Binary file not shown.

readme_gifs/edituser.gif

-554 KB
Binary file not shown.

readme_gifs/home.gif

-1.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)