Ejecutar el backend y frontend al mismo tiempo
cd BreakBlue\ Market/
. venv/bin/activate
cd API
export FLASK_APP=__init.py__
python3 __init.py__
cd BreakBlue\ Market/
cd BreakBlueMarket-Angular/
cd src
ng serve
cd BreakBlue\ Market/
python3 -m venv venv
. venv/bin/activate
Instalar modulos para el ambiente virtual
Modulo |
Comando |
Flask |
pip3 install Flask |
flask-marshmallow |
pip3 install flask-marshmallow |
Flask-Session |
pip3 install Flask-Session |
Flask-Mail |
pip3 install Flask-Mail |
Flask-MySQL |
pip3 install flask-mysql |
marshmallow-sqlalchemy |
pip install marshmallow-sqlalchemy |
PyMySQL |
pip3 install PyMySQL |
cryptography |
pip3 install cryptography |
Flask-CORS |
pip3 install -U flask-cors |
Herramienta |
Versión |
Flask |
2.0.1 |
Angular |
7.19.0 |