How to set an environment (python):
#Unix/mac
python3 -m venv env
source tutorial-env/bin/activate
pip install -r requirements.txt
#Windows
python -m venv env
env/Scripts/activate.bat
pip install -r requirements.txt
How to run it (python):
#Unix
export FLASK_APP="run.py"; export FLASK_ENV="development"; export FLASK_DEBUG=1; flask run --host 0.0.0.0 --port 1111
export FLASK_APP="runApi.py"; export FLASK_ENV="development"; export FLASK_DEBUG=1; flask run --host 0.0.0.0 --port 2222
#Windows (Powershell)
$env:FLASK_APP="run.py";
$env:FLASK_ENV="development"
$env:FLASK_DEBUG=1
flask run
How to update requirements: pip freeze > requirements.txt
How to set an environment (nodejs):
cd desktop_app
npm install
How to run it (nodejs):
npm start
Instalar la extensión linux para windows para solo tener que utilizar comandos unix