Sen descrición

Leonardo Canova 68fb87c5e1 pattume solved hai 1 ano
.idea f83826b22b add notebook for cooccorrenze %!s(int64=2) %!d(string=hai) anos
db 8953d50f5a more refactoring hai 1 ano
flask_be 68fb87c5e1 pattume solved hai 1 ano
site2 faa6fd8649 Add distance default value %!s(int64=2) %!d(string=hai) anos
.gitignore 51c8e576cc mocked data and improved gitignore %!s(int64=2) %!d(string=hai) anos
Search Progetto 2023.zip 027a58f3ee superbase per il search di Lemmi e Forme. %!s(int64=2) %!d(string=hai) anos
Techman 4.doc 256ea2e193 improved_v0 %!s(int64=2) %!d(string=hai) anos
downloadInDifferentTextFormat.html 9cf0ed040e Scaricamento testo in txt,doc,rtf e docx %!s(int64=2) %!d(string=hai) anos
provaPacciani.html ff0c5de1ab File per stampare come immagine due stringhe. Base per la visualizzazione dei dati per TIGRO %!s(int64=2) %!d(string=hai) anos
readme.md fdf62281d0 moved requirements and updated readme hai 1 ano
~$chman 4.doc c7d9641202 add images and new notebook %!s(int64=2) %!d(string=hai) anos

readme.md

BACK-END

  • Based on Python Flask
  • Subfolder 'flask_be'

To get flask running (use Python 3, any version should do!):

  1. [Optional but recommendend] Create and activate virtual environment by:

    • Going to the flask_be subdirectory
    • Executing: python (or python3 or py depending on your system) -m venv [virtual_environment_name]
    • Executing: source [virtual_environment_name]/bin/activate
  2. Install requirements: pip install -r requirements.txt OR pip install -r requirements_freezed.txt

  3. [Optional] Activate Debug Mode by setting the environment variable:

    • FLASK_ENV=development (for instance by executing export FLASK_ENV=development in bash)
  4. Start the app by executing:

    • flask run

(vscode can do 3. and 4. automatically, and possibly the venv setup too)


FRONT-END

  • Plain HTML + Javascript, uses some basic Jquery functions
  • Subfolder 'site2'

To avoid annoying CORS errors, if the PC complains, serve the site through a local server, for instance http-server on node.js