Keine Beschreibung

kora b34f75de9e With TLIO vor 3 Monaten
Esempi 47e66a6b9b contorni vor 6 Monaten
db 9dce7ae5ad Dockerfiles, Dockerfilesgit add . vor 1 Jahr
flask_be b34f75de9e With TLIO vor 3 Monaten
site2 6c0f9f0f0b automatizing deploy vor 6 Monaten
test_suite 59a890db74 Merge branch 'feature/refactor-findtexts' vor 10 Monaten
.gitignore 6c0f9f0f0b automatizing deploy vor 6 Monaten
Manuale.pdf 47e66a6b9b contorni vor 6 Monaten
Prova_Docker.md a2ee74c7a2 Prova Docker -- usare a proprio rischio e pericolo! vor 1 Jahr
Search Progetto 2023.zip 027a58f3ee superbase per il search di Lemmi e Forme. vor 1 Jahr
Techman 4.doc 256ea2e193 improved_v0 vor 1 Jahr
downloadInDifferentTextFormat.html 9cf0ed040e Scaricamento testo in txt,doc,rtf e docx vor 1 Jahr
provaPacciani.html ff0c5de1ab File per stampare come immagine due stringhe. Base per la visualizzazione dei dati per TIGRO vor 1 Jahr
readme.md fe90cf9e0c Updated readmes and Python requirements vor 1 Jahr
server_readme.md e95127733a BE: repair Dockerfile + docs vor 1 Jahr

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