{"id":26367882,"url":"https://github.com/gdamaskos/flask_with_sql_connector","last_synced_at":"2026-05-21T10:02:48.054Z","repository":{"id":208830252,"uuid":"362398603","full_name":"gdamaskos/flask_with_sql_connector","owner":"gdamaskos","description":"LAHMA stands for Local Annotation of Homology Matched Aminoacids. LAHMA is a web application that facilitates protein crystallography research. In this repository you can find the core of the application.","archived":false,"fork":false,"pushed_at":"2021-06-10T16:40:35.000Z","size":1713,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T21:19:03.242Z","etag":null,"topics":["flask","mysqlconnector"],"latest_commit_sha":null,"homepage":"https://lahma.pdb-redo.eu","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gdamaskos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-04-28T08:44:14.000Z","updated_at":"2021-06-10T16:40:38.000Z","dependencies_parsed_at":"2023-11-23T14:43:58.993Z","dependency_job_id":null,"html_url":"https://github.com/gdamaskos/flask_with_sql_connector","commit_stats":null,"previous_names":["gdamaskos/flask_with_sql_connector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gdamaskos/flask_with_sql_connector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamaskos%2Fflask_with_sql_connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamaskos%2Fflask_with_sql_connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamaskos%2Fflask_with_sql_connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamaskos%2Fflask_with_sql_connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gdamaskos","download_url":"https://codeload.github.com/gdamaskos/flask_with_sql_connector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamaskos%2Fflask_with_sql_connector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33297131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","mysqlconnector"],"created_at":"2025-03-16T21:19:06.590Z","updated_at":"2026-05-21T10:02:48.019Z","avatar_url":"https://github.com/gdamaskos.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LAHMA\n\nLAHMA stands for Local Annotation of Homology Matched Aminoacids.\n\nLAHMA is a web application that facilitates protein crystallography research. In this repository you can find the core of the application.\n\nYou can visit the complete site https://lahma.pdb-redo.eu\n\nBasic web software used in this project:\n* Flask\n* JQuery\n* AJAX\n* Google Material Design\n* Bootstrap\n* SQL\n\n# Installation for development on your computer\n\n## Prerequisites\n\nFirst of all, you must be running a Debian Operating System like Ubuntu.\n\nThe following prerequisites are required and must be installed manually if not present:\n\n* git (e.g. `apt-get install git` on a Debian-like OS)\n* python 3.8, follow this tutorial to prepare https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-programming-environment-on-ubuntu-20-04-quickstart\n\n## Steps for setting up the development environment\n\nClone the repository from github and go to the ccd directory:\n\n    git clone https://github.com/gdamaskos/flask_with_sql_connector.git\n    \n    cd flask_with_sql_connector\n\nInstall Mariadb following this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-mariadb-on-ubuntu-20-04\n\nLog in the database as root or administrator and create a database:\n\t\n\t$ mysql -u admin -p\n\tmysql\u003e CREATE DATABASE LahmaDB1;\n\tmysql\u003e exit\n\t\nImport the demo databse provided in the repository:\n\n\tmysql -u admin -p LahmaDB1 \u003c data/LahmaDB1.sql \n\n\nCreate a python3.8 virtual environment containing the dependences found in requirements.txt:\n\n    python3 -m venv ~/virtual_environments/lahma\n    source ~/virtual_environments/lahma/bin/activate\n\nInstall python dependencies:\n\n    pip install wheel\n    pip install -r requirements.txt\n\nModify the settings in `config/lahma_settings.example` to your needs and rename the\nfile to `config/lahma_settings.cfg`. Make sure you generate a new secret key,\nand fill in a valid email. Make sure you put the right credentils to access the database (IP, Username, Password, Database_name).\n\nThe secret key can be generated using a python shell, for example:\n\n\t$ python\n\t\u003e\u003e\u003e import os\n\t\u003e\u003e\u003e os.urandom(96)\n\nStart the app!\n\n    ./run.sh\n\nVisit the address:\n\n    http://localhost:8080\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdamaskos%2Fflask_with_sql_connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdamaskos%2Fflask_with_sql_connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdamaskos%2Fflask_with_sql_connector/lists"}