- Install virtualenv to install virtual Environment to manage depencies according
-
pip install virtualenv -
virtualenv sample_env - To activate sample_env virtual environment
-
sample_env\scripts\activate - Then Install the following packages
-
pip install flask -
pip install flask-sqlalchemy - After creating settings.py , open terminal in current path
-
python -
from movies import db -
db.create_all() -
exit() - Executing the above commands will create a db.model file in current directory
- After, writing all the code, Execute the below code in terminal
-
python app.py
Parvezi123/PythonCRUDApplication
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|