{"id":16175395,"url":"https://github.com/app-generator/deploy-heroku-flask","last_synced_at":"2026-03-18T18:15:32.745Z","repository":{"id":174392315,"uuid":"652168792","full_name":"app-generator/deploy-heroku-flask","owner":"app-generator","description":"HEROKU Deploy - Flask Seed Project | AppSeed","archived":false,"fork":false,"pushed_at":"2023-06-11T10:07:44.000Z","size":6534,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T18:49:22.832Z","etag":null,"topics":["appseed-sample","flask-heroku","flask-heroku-demo","flask-heroku-example"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-11T10:03:28.000Z","updated_at":"2023-06-27T17:42:19.000Z","dependencies_parsed_at":"2023-07-26T11:30:48.417Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/deploy-heroku-flask","commit_stats":null,"previous_names":["app-generator/deploy-heroku-flask"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/app-generator/deploy-heroku-flask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdeploy-heroku-flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdeploy-heroku-flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdeploy-heroku-flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdeploy-heroku-flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/deploy-heroku-flask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdeploy-heroku-flask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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":["appseed-sample","flask-heroku","flask-heroku-demo","flask-heroku-example"],"created_at":"2024-10-10T04:44:46.316Z","updated_at":"2026-01-20T07:03:29.326Z","avatar_url":"https://github.com/app-generator.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Flask Material Kit](https://appseed.us/product/material-kit/flask/)\n\n`Open-Source` seed project generated by AppSeed in **Flask** Framework on top of **[Material Kit](https://appseed.us/product/material-kit/flask/)** design. Designed for those who like bold elements and beautiful websites, **Material Kit 2** is ready to help you create stunning websites and web apps. `Material Kit 2` is built with over 60 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.\n\n- 👉 [Flask Material Kit](https://appseed.us/product/material-kit/flask/) - product page\n- 👉 [Flask Material Kit](https://flask-material-kit.appseed-srv1.com/) - LIVE App\n- 👉 Free [Support](https://appseed.us/support/) via `Email` \u0026 `Discord`\n\n\u003cbr /\u003e\n\n\u003e 🚀 Built with [App Generator](https://appseed.us/generator/), Timestamp: `2022-06-08 12:24`\n\n- ✅ `Up-to-date dependencies`\n- ✅ `Database`: `SQLite`, MySql\n  - Silent fallback to `SQLite`\n- ✅ `DB Tools`: SQLAlchemy ORM, Flask-Migrate (schema migrations)\n- ✅ Session-Based authentication (via **flask_login**), Forms validation\n- ✅ Docker, `Flask-Minify` (page compression)\n- 🚀 `Deployment` \n  - `CI/CD` flow via `Render`\n  - [Flask Material Kit - Go LIVE](https://www.youtube.com/watch?v=bSFw6xrd57w) (`video presentation`)  \n\n\u003cbr /\u003e\n\n![Material Kit - Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/167396765-c88b7a95-155f-4236-8691-7b80fa2d9cd9.png)\n\n\u003cbr /\u003e\n\n## Start with `Docker`\n\n\u003e 👉 **Step 1** - Download the code from the GH repository (using `GIT`) \n\n```bash\n$ git clone https://github.com/app-generator/flask-material-kit.git\n$ cd flask-material-kit\n```\n\n\u003cbr /\u003e\n\n\u003e 👉 **Step 2** - Start the APP in `Docker`\n\n```bash\n$ docker-compose up --build \n```\n\nVisit `http://localhost:5085` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n## ✨ How to use it\n\n\u003e Download the code \n\n```bash\n$ git clone https://github.com/app-generator/flask-material-kit.git\n$ cd flask-material-kit\n```\n\n\u003cbr /\u003e\n\n### 👉 Set Up for `Unix`, `MacOS` \n\n\u003e Install modules via `VENV`  \n\n```bash\n$ virtualenv env\n$ source env/bin/activate\n$ pip3 install -r requirements.txt\n```\n\n\u003cbr /\u003e\n\n\u003e Set Up Flask Environment\n\n```bash\n$ export FLASK_APP=run.py\n$ export FLASK_ENV=development\n```\n\n\u003cbr /\u003e\n\n\u003e Start the app\n\n```bash\n$ flask run\n```\n\nAt this point, the app runs at `http://127.0.0.1:5000/`. \n\n\u003cbr /\u003e\n\n### 👉 Set Up for `Windows` \n\n\u003e Install modules via `VENV` (windows) \n\n```\n$ virtualenv env\n$ .\\env\\Scripts\\activate\n$ pip3 install -r requirements.txt\n```\n\n\u003cbr /\u003e\n\n\u003e Set Up Flask Environment\n\n```bash\n$ # CMD \n$ set FLASK_APP=run.py\n$ set FLASK_ENV=development\n$\n$ # Powershell\n$ $env:FLASK_APP = \".\\run.py\"\n$ $env:FLASK_ENV = \"development\"\n```\n\n\u003cbr /\u003e\n\n\u003e Start the app\n\n```bash\n$ flask run\n```\n\nAt this point, the app runs at `http://127.0.0.1:5000/`. \n\n\u003cbr /\u003e\n\n### 👉 Create Users\n\nBy default, the app redirects guest users to authenticate. In order to access the private pages, follow this set up: \n\n- Start the app via `flask run`\n- Access the `registration` page and create a new user:\n  - `http://127.0.0.1:5000/register`\n- Access the `sign in` page and authenticate\n  - `http://127.0.0.1:5000/login`\n\n\u003cbr /\u003e\n\n## ✨ `Go LIVE` via [LIVE Deployer](https://appseed.us/go-live/)\n\n\u003e This video explains `how to deploy` the product LIVE using a `Drag \u0026 Drop` gesture.\n\n\u003cbr /\u003e\n\nhttps://user-images.githubusercontent.com/51070104/202416162-885c30d3-5066-40cb-abcd-1668689c9463.mp4\n\n\u003cbr /\u003e\n\n## Codebase structure\n\nThe project is coded using blueprints, app factory pattern, dual configuration profile (development and production) and an intuitive structure presented bellow:\n\n```bash\n\u003c PROJECT ROOT \u003e\n   |\n   |-- apps/\n   |    |\n   |    |-- home/                           # A simple app that serve HTML files\n   |    |    |-- routes.py                  # Define app routes\n   |    |\n   |    |-- authentication/                 # Handles auth routes (login and register)\n   |    |    |-- routes.py                  # Define authentication routes  \n   |    |    |-- models.py                  # Defines models  \n   |    |    |-- forms.py                   # Define auth forms (login and register) \n   |    |\n   |    |-- static/\n   |    |    |-- \u003ccss, JS, images\u003e          # CSS files, Javascripts files\n   |    |\n   |    |-- templates/                      # Templates used to render pages\n   |    |    |-- includes/                  # HTML chunks and components\n   |    |    |    |-- navigation.html       # Top menu component\n   |    |    |    |-- sidebar.html          # Sidebar component\n   |    |    |    |-- footer.html           # App Footer\n   |    |    |    |-- scripts.html          # Scripts common to all pages\n   |    |    |\n   |    |    |-- layouts/                   # Master pages\n   |    |    |    |-- base-fullscreen.html  # Used by Authentication pages\n   |    |    |    |-- base.html             # Used by common pages\n   |    |    |\n   |    |    |-- accounts/                  # Authentication pages\n   |    |    |    |-- login.html            # Login page\n   |    |    |    |-- register.html         # Register page\n   |    |    |\n   |    |    |-- home/                      # UI Kit Pages\n   |    |         |-- index.html            # Index page\n   |    |         |-- 404-page.html         # 404 page\n   |    |         |-- *.html                # All other pages\n   |    |    \n   |  config.py                             # Set up the app\n   |    __init__.py                         # Initialize the app\n   |\n   |-- requirements.txt                     # App Dependencies\n   |\n   |-- .env                                 # Inject Configuration via Environment\n   |-- run.py                               # Start the app - WSGI gateway\n   |\n   |-- ************************************************************************\n```\n\n\u003cbr /\u003e\n\n## [Flask Material Kit](https://appseed.us/product/material-kit2-pro/flask/) `PRO`\n\n\u003e For more components, pages and priority on support, feel free to take a look at this amazing starter:\n\n**Material Kit 2** is a premium design crafted by the `Creative-Tim` agency on top of Bootstrap 5 Framework. Designed for those who like bold elements and beautiful websites, Material Kit 2 is made of hundreds of elements, designed blocks, and fully coded pages built with an impressive level of quality.\n\n- 👉 [Flask Material Kit2 PRO](https://appseed.us/product/material-kit2-pro/flask/) - product page\n  - ✅ `Enhanced UI` - more pages and components\n  - ✅ `Priority` on support\n\n\u003cbr \u003e\n\n![Mk2 PRO - Premium Seed project by AppSeed.](https://user-images.githubusercontent.com/51070104/168224733-b054bb46-d454-4aea-bb94-2d01bf4760d2.png)\n\n\u003cbr /\u003e\n\n---\n[Flask Material Kit](https://appseed.us/product/material-kit/flask/) - Open-source starter generated by **[App Generator](https://appseed.us/generator/)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdeploy-heroku-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fdeploy-heroku-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdeploy-heroku-flask/lists"}