Skip to content

Commit 5780ba5

Browse files
Add 5.0 on README.md
1 parent 6b93cff commit 5780ba5

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ install:
99
- pip install -r requirements.txt
1010

1111
script:
12+
- cp contrib/env-test .env
1213
- py.test .
13-

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff 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

tvseries/config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ class DevelopmentConfig(BaseConfig):
1515

1616

1717
class 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

0 commit comments

Comments
 (0)