Alessia 78d41bfab1 Merge branch 'master' of http://dev.restore.ovi.cnr.it:3000/TEAMOVI/Ricerche | il y a 1 an | |
---|---|---|
.idea | il y a 1 an | |
db | il y a 1 an | |
flask_be | il y a 1 an | |
site2 | il y a 1 an | |
test_suite | il y a 1 an | |
.gitignore | il y a 1 an | |
Search Progetto 2023.zip | il y a 1 an | |
Techman 4.doc | il y a 1 an | |
downloadInDifferentTextFormat.html | il y a 1 an | |
provaPacciani.html | il y a 1 an | |
readme.md | il y a 1 an |
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