Skip to content

Commit

Permalink
updated the readmen and gitignore file, added python version file bac…
Browse files Browse the repository at this point in the history
…k in
  • Loading branch information
mjhea0 committed Mar 4, 2018
1 parent 0b5a705 commit 7b307f5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ __pycache__

htmlcov
migrations

env
venv

.DS_Store
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.6.4
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,16 @@ Flask starter project...
1. Create and activate a virtualenv
1. Install the requirements

### Set Environment Variables

### Configuring

Inspect and update `project/server/config.py`.


### Setting Environment Variables

Eg: for using the development config with debug mode enabled
Update *project/server/config.py*, and then run:

```sh
$ export APP_SETTINGS="project.server.config.DevelopmentConfig"
$ export FLASK_DEBUG=1
```

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

```sh
APP_SETTINGS="project.server.config.DevelopmentConfig"
Expand Down

0 comments on commit 7b307f5

Please sign in to comment.