{"id":16175045,"url":"https://github.com/app-generator/jinja-star-admin","last_synced_at":"2025-07-04T22:34:32.951Z","repository":{"id":100503133,"uuid":"430585134","full_name":"app-generator/jinja-star-admin","owner":"app-generator","description":"Jinja Template - Star Admin 2 (Open-source) | AppSeed","archived":false,"fork":false,"pushed_at":"2021-11-22T13:45:01.000Z","size":24049,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-01T16:19:42.431Z","etag":null,"topics":["appseed","jinja-template","star-admin"],"latest_commit_sha":null,"homepage":"https://appseed.us/admin-dashboards/flask-star-admin","language":"CSS","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,"zenodo":null}},"created_at":"2021-11-22T06:13:49.000Z","updated_at":"2024-03-19T20:32:36.000Z","dependencies_parsed_at":"2023-05-15T11:15:30.602Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/jinja-star-admin","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":"app-generator/boilerplate-code-jinja","purl":"pkg:github/app-generator/jinja-star-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fjinja-star-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fjinja-star-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fjinja-star-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fjinja-star-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/jinja-star-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fjinja-star-admin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263628162,"owners_count":23490923,"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":["appseed","jinja-template","star-admin"],"created_at":"2024-10-10T04:44:02.517Z","updated_at":"2025-07-04T22:34:32.939Z","avatar_url":"https://github.com/app-generator.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jinja Star Admin\n\nJinja Template project generated by AppSeed on top of a modern UI Kit. **Star Admin 2** is an open-source Bootstrap 5 dashboard template provided by BootstrapDash. \nThe project can be used as a codebase for future project or to migrate the Jinja files and assets to a legacy Python-based project that uses Jinja as template engine (Flask, Bottle, Django). \n\n\u003cbr /\u003e\n\n\u003e Features:\n\n- Up-to-date [dependencies](./requirements.txt): **Flask 2.0.1**\n- [SCSS compilation](#recompile-css) via **Gulp**\n- UI Kit: **Star Admin 2** (Free Version) by **BootstrapDash**\n- Render Engine: Flask / [Jinja2](https://jinja.palletsprojects.com/)\n- Deployment scripts: Docker, Gunicorn/Nginx, HEROKU\n- Support via **Github** (issues tracker) and [Discord](https://discord.gg/fZC6hup).\n\n\u003cbr /\u003e\n\n\u003e Links\n\n- [LIVE Demo](https://jinja-star-admin.appseed-srv1.com/) - starter in action\n- More [Jinja Templates](https://appseed.us/jinja-template) provided by AppSeed\n\n\u003cbr /\u003e\n\n## Quick Start in [Docker](https://www.docker.com/)\n\n\u003e Get the code\n\n```bash\n$ git clone https://github.com/app-generator/jinja-star-admin.git\n$ cd jinja-star-admin\n```\n\n\u003e Start the app in Docker\n\n```bash\n$ docker-compose pull   # download dependencies \n$ docker-compose build  # local set up\n$ docker-compose up -d  # start the app \n```\n\nVisit `http://localhost:85` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n![Jinja Star Admin - Seed provided by AppSeed.](https://user-images.githubusercontent.com/51070104/142849749-130c06e2-9ebc-4c48-84c7-d35fe1ae26b3.gif)\n\n\u003cbr /\u003e\n\n## Build from sources\n\n```bash\n$ # Clone the sources\n$ git clone https://github.com/app-generator/jinja-star-admin.git\n$ cd jinja-star-admin\n$\n$ # Virtualenv modules installation (Unix based systems)\n$ virtualenv env\n$ source env/bin/activate\n$\n$ # Virtualenv modules installation (Windows based systems)\n$ # virtualenv env\n$ # .\\env\\Scripts\\activate\n$\n$ # Install requirements\n$ pip3 install -r requirements.txt\n$\n$ # Set the FLASK_APP environment variable\n$ (Unix/Mac) export FLASK_APP=run.py\n$ (Windows) set FLASK_APP=run.py\n$ (Powershell) $env:FLASK_APP = \".\\run.py\"\n$\n$ # Set up the DEBUG environment\n$ # (Unix/Mac) export FLASK_ENV=development\n$ # (Windows) set FLASK_ENV=development\n$ # (Powershell) $env:FLASK_ENV = \"development\"\n$\n$ # Run the Jinja Template\n$ # --host=0.0.0.0 - expose the app on all network interfaces (default 127.0.0.1)\n$ # --port=5000    - specify the app port (default 5000)  \n$ flask run --host=0.0.0.0 --port=5000\n$\n$ # Access the UI in browser: http://127.0.0.1:5000/\n```\n\n\u003cbr /\u003e\n\n## Code-base structure\n\nThe project has a simple structure, represented as bellow:\n\n```bash\n\u003c PROJECT ROOT \u003e\n   |\n   |-- app/\n   |    |-- static/\n   |    |    |-- \u003ccss, JS, images\u003e         # CSS files, Javascripts files\n   |    |\n   |    |-- templates/\n   |    |    |\n   |    |    |-- includes/                 # Page chunks, components\n   |    |    |    |\n   |    |    |    |-- navigation.html      # Top bar\n   |    |    |    |-- sidebar.html         # Left sidebar\n   |    |    |    |-- scripts.html         # JS scripts common to all pages\n   |    |    |    |-- footer.html          # The common footer\n   |    |    |\n   |    |    |-- layouts/                  # App Layouts (the master pages)\n   |    |    |    |\n   |    |    |    |-- base.html            # Used by common pages like index, UI\n   |    |    |    |-- base-fullscreen.html # Used by auth pages (login, register)\n   |    |    |\n   |    |    |-- accounts/                 # Auth Pages (login, register)\n   |    |    |    |\n   |    |    |    |-- login.html           # Use layout `base-fullscreen.html`\n   |    |    |    |-- register.html        # Use layout `base-fullscreen.html`  \n   |    |    |\n   |    |    |-- home/                      # UI Kit Pages\n   |    |         |-- index.html            # Index page\n   |    |         |-- 404-page.html         # 404 page\n   |    |         |-- *.html                # All other pages\n   |    |\n   |   views.py                             # Application Routes \n   |\n   |-- Dockerfile                           # Deployment\n   |-- docker-compose.yml                   # Deployment\n   |-- gunicorn-cfg.py                      # Deployment   \n   |-- nginx                                # Deployment\n   |    |-- appseed-app.conf                # Deployment \n   |\n   |-- requirements.txt\n   |-- run.py\n   |\n   |-- ************************************************************************\n```\n\n\u003cbr /\u003e\n\n## Recompile CSS\n\nTo recompile SCSS files, follow this setup:\n\n\u003cbr /\u003e\n\n**Step #1** - Install tools\n\n- [NodeJS](https://nodejs.org/en/) 12.x or higher\n- [Gulp](https://gulpjs.com/) - globally \n    - `npm install -g gulp-cli`\n- [Yarn](https://yarnpkg.com/) (optional) \n\n\u003cbr /\u003e\n\n**Step #2** - Change the working directory to `assets` folder\n\n```bash\n$ cd app/static/assets\n```\n\n\u003cbr /\u003e\n\n**Step #3** - Install modules (this will create a classic `node_modules` directory)\n\n```bash\n$ npm install\n// OR\n$ yarn\n```\n\n\u003cbr /\u003e\n\n**Step #4** - Edit \u0026 Recompile SCSS files \n\n```bash\n$ gulp scss\n```\n\nThe generated file is saved in `static/assets/css` directory.\n\n\u003cbr /\u003e\n\n## Deployment\n\nThe project comes with a basic configuration for [Docker](https://www.docker.com/), [HEROKU](https://www.heroku.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).\n\n### [Heroku](https://www.heroku.com/)\n---\n\nSteps to deploy on **Heroku**\n\n- [Create a FREE account](https://signup.heroku.com/) on Heroku platform\n- [Install the Heroku CLI](https://devcenter.heroku.com/articles/getting-started-with-python#set-up) that match your OS: Mac, Unix or Windows\n- Open a terminal window and authenticate via `heroku login` command\n- Clone the sources and push the project for LIVE deployment\n\n```bash\n$ # Clone the source code:\n$ git clone https://github.com/app-generator/boilerplate-code-jinja.git\n$ cd boilerplate-code-jinja\n$\n$ # Check Heroku CLI is installed\n$ heroku -v\nheroku/7.25.0 win32-x64 node-v12.13.0 # \u003c-- All good\n$\n$ # Check Heroku CLI is installed\n$ heroku login\n$ # this commaond will open a browser window - click the login button (in browser)\n$\n$ # Create the Heroku project\n$ heroku create\n$\n$ # Trigger the LIVE deploy\n$ git push heroku master\n$\n$ # Open the LIVE app in browser\n$ heroku open\n```\n\n\u003cbr /\u003e\n\n### [Gunicorn](https://gunicorn.org/)\n---\n\nGunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.\n\n\u003e Install using pip\n\n```bash\n$ pip install gunicorn\n```\n\u003e Start the app using gunicorn binary\n\n```bash\n$ gunicorn --bind 0.0.0.0:8001 run:app\nServing on http://localhost:8001\n```\n\nVisit `http://localhost:8001` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n### [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/)\n---\n\nWaitress (Gunicorn equivalent for Windows) is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones that live in the Python standard library.\n\n\u003e Install using pip\n\n```bash\n$ pip install waitress\n```\n\u003e Start the app using [waitress-serve](https://docs.pylonsproject.org/projects/waitress/en/stable/runner.html)\n\n```bash\n$ waitress-serve --port=8001 run:app\nServing on http://localhost:8001\n```\n\nVisit `http://localhost:8001` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n## Credits \u0026 Links\n\n- [Flask Framework](https://www.palletsprojects.com/p/flask/) - The official website\n\n\u003cbr /\u003e\n\n---\nJinja Star Admin - Provided by **AppSeed** [App Generator](https://appseed.us/app-generator).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fjinja-star-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fjinja-star-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fjinja-star-admin/lists"}