Skip to content

Commit a7f3621

Browse files
committed
update readme
1 parent 27dc623 commit a7f3621

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,37 @@ Flask starter project...
1111
1. Create and activate a virtualenv
1212
1. 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

1633
Update *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

2341
Using pipenv or python-dotenv? Use the *.env* file to set environment variables:
2442

2543
```sh
44+
APP_NAME="Flask Skeleton"
2645
APP_SETTINGS="project.server.config.DevelopmentConfig"
2746
FLASK_DEBUG=1
2847
```

0 commit comments

Comments
 (0)