Aucune description

francesco e19bcd4259 ... il y a 11 mois
db 9dce7ae5ad Dockerfiles, Dockerfilesgit add . il y a 11 mois
flask_be c61bb20cb1 Dockerfiles, Dockerfiles? il y a 11 mois
site2 e19bcd4259 ... il y a 11 mois
test_suite e47ee8d48c Clarifications in queries_2 in tests il y a 11 mois
.gitignore 0f4ffe9143 gitignore + docs il y a 11 mois
Prova_Docker.md a2ee74c7a2 Prova Docker -- usare a proprio rischio e pericolo! il y a 11 mois
Search Progetto 2023.zip 027a58f3ee superbase per il search di Lemmi e Forme. il y a 1 an
Techman 4.doc 256ea2e193 improved_v0 il y a 1 an
downloadInDifferentTextFormat.html 9cf0ed040e Scaricamento testo in txt,doc,rtf e docx il y a 1 an
provaPacciani.html ff0c5de1ab File per stampare come immagine due stringhe. Base per la visualizzazione dei dati per TIGRO il y a 1 an
readme.md e64f6f6703 Updated Dockerfiles and docs il y a 11 mois
server_readme.md dd83b3f03e site dockerfile il y a 11 mois

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