Skip to content

Commit 7b307f5

Browse files
committed
updated the readmen and gitignore file, added python version file back in
1 parent 0b5a705 commit 7b307f5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ __pycache__
66

77
htmlcov
88
migrations
9+
10+
env
11+
venv
12+
13+
.DS_Store

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.6.4

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,16 @@ Flask starter project...
1111
1. Create and activate a virtualenv
1212
1. Install the requirements
1313

14+
### Set Environment Variables
1415

15-
### Configuring
16-
17-
Inspect and update `project/server/config.py`.
18-
19-
20-
### Setting Environment Variables
21-
22-
Eg: for using the development config with debug mode enabled
16+
Update *project/server/config.py*, and then run:
2317

2418
```sh
2519
$ export APP_SETTINGS="project.server.config.DevelopmentConfig"
2620
$ export FLASK_DEBUG=1
2721
```
2822

29-
Alternatively using pipenv or python-dotenv you can define your application configuration in the `.env` file.
23+
Using pipenv or python-dotenv? Use the *.env* file to set environment variables:
3024

3125
```sh
3226
APP_SETTINGS="project.server.config.DevelopmentConfig"

0 commit comments

Comments
 (0)