Alessia cbbadbbd44 get single context with an error | hai 1 ano | |
---|---|---|
.idea | hai 1 ano | |
db | hai 1 ano | |
flask_be | hai 1 ano | |
site2 | hai 1 ano | |
.gitignore | hai 1 ano | |
Search Progetto 2023.zip | hai 1 ano | |
Techman 4.doc | hai 1 ano | |
downloadInDifferentTextFormat.html | hai 1 ano | |
provaPacciani.html | hai 1 ano | |
readme.md | hai 1 ano | |
tester_prova.py | hai 1 ano |
To get flask running (use Python 3, any version should do!):
[Optional but recommendend] Create and activate virtual environment by:
Install requirements: pip (or pip3) install -r requirements.txt OR pip (pip3) install -r requirements_freezed.txt
[Optional] Activate Debug Mode by setting the environment variable:
Start the app by executing:
(vscode can do 3. and 4. automatically, and possibly the venv setup too)
To avoid annoying CORS errors, if the PC complains, serve the site through a local server, for instance http-server on node.js