Nincs leírás

francesco 035bb01b72 Folder Restructuring 1 éve
.idea f83826b22b add notebook for cooccorrenze 1 éve
db 8f00aa4db6 xml gat for new DB 1 éve
flask_be ece381dbde Merge branch 'master' of http://dev.restore.ovi.cnr.it:3000/TEAMOVI/Ricerche 1 éve
site2 3f048e04c8 Change default value for distance 1 éve
test_suite 035bb01b72 Folder Restructuring 1 éve
.gitignore 92cd234b91 funzioni fe aggiornate 1 éve
Search Progetto 2023.zip 027a58f3ee superbase per il search di Lemmi e Forme. 1 éve
Techman 4.doc 256ea2e193 improved_v0 1 éve
downloadInDifferentTextFormat.html 9cf0ed040e Scaricamento testo in txt,doc,rtf e docx 1 éve
provaPacciani.html ff0c5de1ab File per stampare come immagine due stringhe. Base per la visualizzazione dei dati per TIGRO 1 éve
readme.md fe90cf9e0c Updated readmes and Python requirements 1 éve

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 (or pip3) install -r requirements.txt OR pip (pip3) install -r requirements_freezed.txt

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

    • FLASK_DEBUG=true (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