Commit 4a6ab110d3082522597ec77d0c9144d5ea208279

Authored by Antoine Goutenoir
1 parent 9d1e2065
Exists in master

Sweep dust under the rug.

Showing 2 changed files with 7 additions and 4 deletions   Show diff stats
.env.flaskrun 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +# Only useful for development, source this
  2 +# after the virtualenv and before running `flask run`.
  3 +
  4 +export FLASK_APP="flaskr"
  5 +export FLASK_ENV="development"
  6 +export FLASK_RUN_EXTRA_FILES="content.yml"
... ...
README.md
... ... @@ -56,13 +56,10 @@ Then, source it to enable it.
56 56 ## Development
57 57  
58 58 source venv/bin/activate
59   - export FLASK_APP=flaskr
60   - export FLASK_ENV=development
61   - export FLASK_RUN_EXTRA_FILES="content.yml"
  59 + source .env.flaskrun
62 60 flask run
63 61  
64 62 Then, visit http://localhost:5000
65 63  
66   -> We're trying to remove the need for the `export` statements, but…
67 64  
68 65  
... ...