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 99 - pip install -r requirements.txt
1010
1111script :
12+ - cp contrib/env-test .env
1213 - py.test .
13-
Original file line number Diff line number Diff line change @@ -26,7 +26,19 @@ Install requirements:
2626$ pip install -r requirements.txt
2727```
2828
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.
3042
3143## 1.0 - Flask and the most basic application of the world!
3244
@@ -52,3 +64,8 @@ To run, follow explanatory videos below.
5264- See explanation about release: https://github.com/rafaelhenrique/flask_tutorial/releases/tag/4.0
5365- See video: https://www.youtube.com/watch?v=8h9CC2zexsI
5466
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):
1515
1616
1717class TestConfig (BaseConfig ):
18- SECRET_KEY = 'teste123'
19- SERVER_NAME = '127.0.0.1:5000'
2018 SQLALCHEMY_DATABASE_URI = 'sqlite:///tvseries-test.sqlite3'
2119 TESTING = True
2220
You can’t perform that action at this time.
0 commit comments