|
8 | 8 | [](https://github.com/hackersandslackers/flask-sqlalchemy-tutorial/stargazers)
|
9 | 9 | [](https://github.com/hackersandslackers/flask-sqlalchemy-tutorial/network)
|
10 | 10 |
|
11 | | - |
| 11 | + |
12 | 12 |
|
13 | 13 | Connect your Flask app to a database using Flask-SQLAlchemy. This repository contains source code for the accompanying tutorial on [Hackers and Slackers](https://hackersandslackers.com/manage-database-models-with-flask-sqlalchemy/).
|
14 | 14 |
|
@@ -37,6 +37,16 @@ $ pipenv update
|
37 | 37 | $ flask run
|
38 | 38 | ```
|
39 | 39 |
|
| 40 | +**Installation via [Poetry](https://python-poetry.org/)**: |
| 41 | + |
| 42 | +```shell |
| 43 | +$ git clone https://github.com/hackersandslackers/flask-sqlalchemy-tutorial.git |
| 44 | +$ cd flask-sqlalchemy-tutorial |
| 45 | +$ poetry shell |
| 46 | +$ poetry update |
| 47 | +$ poetry run |
| 48 | +``` |
| 49 | + |
40 | 50 | ## Usage
|
41 | 51 |
|
42 | 52 | Replace the values in **.env.example** with your values and rename this file to **.env**:
|
|
0 commit comments