File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 9
9
- pip install -r requirements.txt
10
10
11
11
script :
12
+ - cp contrib/env-test .env
12
13
- py.test .
13
-
Original file line number Diff line number Diff line change @@ -26,7 +26,19 @@ Install requirements:
26
26
$ pip install -r requirements.txt
27
27
```
28
28
29
- To run, follow explanatory videos below.
29
+ Configure your local ` .env ` file:
30
+
31
+ ```
32
+ $ cp contrib/env-sample .env
33
+ ```
34
+
35
+ Open ` .env ` with your favorite editor and configure your paramethers. Run your server with command below:
36
+
37
+ ```
38
+ $ python manage.py runserver
39
+ ```
40
+
41
+ More information? Follow explanatory videos below.
30
42
31
43
## 1.0 - Flask and the most basic application of the world!
32
44
@@ -52,3 +64,8 @@ To run, follow explanatory videos below.
52
64
- See explanation about release: https://github.com/rafaelhenrique/flask_tutorial/releases/tag/4.0
53
65
- See video: https://www.youtube.com/watch?v=8h9CC2zexsI
54
66
67
+ ## 5.0 - Configuration, structure and Hen and Egg problem!
68
+
69
+ - See release code: https://github.com/rafaelhenrique/flask_tutorial/tree/5.0
70
+ - See explanation about release: https://github.com/rafaelhenrique/flask_tutorial/releases/tag/5.0
71
+ - See video: https://www.youtube.com/watch?v=VsFtrqTFyEE
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ class DevelopmentConfig(BaseConfig):
15
15
16
16
17
17
class TestConfig (BaseConfig ):
18
- SECRET_KEY = 'teste123'
19
- SERVER_NAME = '127.0.0.1:5000'
20
18
SQLALCHEMY_DATABASE_URI = 'sqlite:///tvseries-test.sqlite3'
21
19
TESTING = True
22
20
You can’t perform that action at this time.
0 commit comments