We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 46e75e1 + eab811b commit 03ec526Copy full SHA for 03ec526
app/start.ps1
@@ -66,7 +66,7 @@ Write-Host ""
66
Set-Location ../backend
67
Start-Process http://127.0.0.1:5000
68
69
-Start-Process -FilePath $venvPythonPath -ArgumentList "./app.py" -Wait -NoNewWindow
+Start-Process -FilePath $venvPythonPath -ArgumentList "-m flask run --port=5000 --reload --debug" -Wait -NoNewWindow
70
71
if ($LASTEXITCODE -ne 0) {
72
Write-Host "Failed to start backend"
app/start.sh
@@ -57,7 +57,7 @@ echo ""
57
58
cd ../backend
59
xdg-open http://127.0.0.1:5000
60
-./backend_env/bin/python ./app.py
+./backend_env/bin/python -m flask run --port=5000 --reload --debug
61
if [ $? -ne 0 ]; then
62
echo "Failed to start backend"
63
exit $?
0 commit comments