File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,18 +11,37 @@ Flask starter project...
11111 . Create and activate a virtualenv
12121 . Install the requirements
1313
14+
15+
16+ ### Cookiecutter Template
17+
18+ Install cookiecutter with your package manager:
19+
20+ ``` sh
21+ $ pip install cookiecutter
22+ ```
23+
24+ Create your app with:
25+
26+ ``` sh
27+ $ cookiecutter https://github.com/vuLgAr/flask-skeleton.git --checkout cookiecutter
28+ ```
29+
30+
1431### Set Environment Variables
1532
1633Update * project/server/config.py* , and then run:
1734
1835``` sh
36+ $ export APP_NAME=" Flask Skeleton"
1937$ export APP_SETTINGS=" project.server.config.DevelopmentConfig"
2038$ export FLASK_DEBUG=1
2139```
2240
2341Using pipenv or python-dotenv? Use the * .env* file to set environment variables:
2442
2543``` sh
44+ APP_NAME=" Flask Skeleton"
2645APP_SETTINGS=" project.server.config.DevelopmentConfig"
2746FLASK_DEBUG=1
2847```
You can’t perform that action at this time.
0 commit comments