kora dd83b3f03e site dockerfile | 1 rok pred | |
---|---|---|
db | 1 rok pred | |
flask_be | 1 rok pred | |
site2 | 1 rok pred | |
test_suite | 1 rok pred | |
.gitignore | 1 rok pred | |
Prova_Docker.md | 1 rok pred | |
Search Progetto 2023.zip | 1 rok pred | |
Techman 4.doc | 1 rok pred | |
downloadInDifferentTextFormat.html | 1 rok pred | |
provaPacciani.html | 1 rok pred | |
readme.md | 1 rok pred | |
server_readme.md | 1 rok pred |
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