{"id":14065254,"url":"https://github.com/ericdaat/flask-template","last_synced_at":"2025-07-29T20:32:00.676Z","repository":{"id":50199251,"uuid":"162680643","full_name":"ericdaat/flask-template","owner":"ericdaat","description":"Template for a Python Flask web application along with sqlalchemy, docker, circle-ci and sphinx.","archived":false,"fork":false,"pushed_at":"2022-12-08T01:29:41.000Z","size":42,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-13T07:08:30.322Z","etag":null,"topics":["docker","docker-compose","flask","flask-application","python","python3","template","web"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericdaat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-21T07:22:19.000Z","updated_at":"2023-05-01T15:56:29.000Z","dependencies_parsed_at":"2023-01-24T03:10:18.989Z","dependency_job_id":null,"html_url":"https://github.com/ericdaat/flask-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericdaat%2Fflask-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericdaat%2Fflask-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericdaat%2Fflask-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericdaat%2Fflask-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericdaat","download_url":"https://codeload.github.com/ericdaat/flask-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228046118,"owners_count":17861101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","docker-compose","flask","flask-application","python","python3","template","web"],"created_at":"2024-08-13T07:04:23.504Z","updated_at":"2024-12-04T04:30:56.499Z","avatar_url":"https://github.com/ericdaat.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Flask Web Application template\n\n[![Documentation Status](https://readthedocs.org/projects/flask-template/badge/?version=latest)](https://flask-template.readthedocs.io/en/latest/?badge=latest)\n[![CircleCI](https://circleci.com/gh/ericdaat/flask-template.svg?style=svg)](https://circleci.com/gh/ericdaat/flask-template)\n\nThis is a template for a basic Flask web application that responds\nan HTML page on `localhost:8080`.\n\nThis template comes with support for:\n\n- [SQLlite database](https://www.sqlite.org/index.html)\n- [Sphinx documentation](http://www.sphinx-doc.org/en/master/)\n- [Twitter Bootstrap](https://getbootstrap.com/)\n- [Font Awesome](https://fontawesome.com/)\n- [Docker](https://www.docker.com/) and [docker-compose](https://docs.docker.com/compose/)\n\nDon't hesitate to contribute!\n\n## Install\n\nCreate a virtual environment and install the requirements.\n\n``` bash\nmake venv/bin/activate\n```\n\nInit the database by creating all tables.\n\n``` bash\nexport DATABASE_URL=sqlite:///../db.sqlite3\nexport FLASK_APP=\"application.app\"\nflask init-db\n```\n\n## Run\n\nRun the application debug mode.\n\n``` bash\nFLASK_DEBUG=True flask run\n```\n\nIf you wish to use Docker for deploying the app, run the following:\n\n``` bash\ndocker-compose up -d\n```\n\n## Docs\n\nAutomatically create and build the code documentation using Sphinx.\nYou can use [Read the Docs](https://readthedocs.org/) to build and host the documentation,\nlike I did [here](https://flask-template.readthedocs.io/en/latest/).\n\n``` bash\nmake docs\n```\n\n## Clone the template to another directory\n\n``` bash\n./install.sh /path/to/your/dir\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericdaat%2Fflask-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericdaat%2Fflask-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericdaat%2Fflask-template/lists"}