Code Monkey home page Code Monkey logo

flask-assets-tutorial's Introduction

Flask-Assets Tutorial

Python Flask Flask-Assets Gunicorn GitHub Last Commit GitHub Issues GitHub Stars GitHub Forks

Flask Assets Tutorial

Build and code-split your frontend assets across Blueprints using Flask-Assets.

Getting Started

Get set up locally in two steps:

Environment Variables

Replace the values in .env.example with your values and rename this file to .env:

  • ENVIRONMENT: The environment in which to run your application (either development or production).
  • FLASK_DEBUG: Set to True to enable Flask's debug mode (default to False in prod).
  • SECRET_KEY: Randomly generated string of characters used to encrypt your app's data.
  • LESS_BIN: Path to your local LESS installation via which lessc.

Remember never to commit secrets saved in .env files to Github.

Installation

Get up and running with make deploy:

git clone https://github.com/hackersandslackers/flask-assets-tutorial.git
cd flask-assets-tutorial
make deploy

Hackers and Slackers tutorials are free of charge. If you found this tutorial helpful, a small donation would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.

flask-assets-tutorial's People

Contributors

renovate-bot avatar toddbirchard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flask-assets-tutorial's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency exceptiongroup to v1.2.1
  • Update dependency blinker to v1.8.2
  • Update dependency itsdangerous to v2.2.0
  • Update dependency platformdirs to v4.2.2
  • Update dependency pluggy to v1.5.0
  • Update dependency typing-extensions to v4.11.0
  • Update dependency black to v24
  • Update dependency gunicorn to v22
  • Update dependency packaging to v24
  • Update dependency pytest to v8
  • Update dependency pytest to v8
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/pythonapp.yml
  • actions/checkout v4
  • actions/setup-python v5
pep621
pyproject.toml
  • poetry-core >=1.0.0
pip_requirements
requirements.txt
  • black ==23.12.0
  • blinker ==1.7.0
  • click ==8.1.7
  • colorama ==0.4.6
  • cssmin ==0.2.0
  • exceptiongroup ==1.2.0
  • flask-assets ==2.1.0
  • flask-sock ==0.7.0
  • flask ==3.0.0
  • gunicorn ==21.2.0
  • h11 ==0.14.0
  • iniconfig ==2.0.0
  • isort ==5.13.2
  • itsdangerous ==2.1.2
  • jinja2 ==3.1.2
  • jsmin ==3.0.1
  • lesscpy ==0.15.1
  • markupsafe ==2.1.3
  • mypy-extensions ==1.0.0
  • packaging ==23.2
  • pathspec ==0.12.1
  • platformdirs ==4.1.0
  • pluggy ==1.3.0
  • ply ==3.11
  • pytest ==7.4.3
  • python-dotenv ==1.0.0
  • simple-websocket ==1.0.0
  • tomli ==2.0.1
  • typing-extensions ==4.9.0
  • webassets ==2.0
  • werkzeug ==3.0.1
  • wsproto ==1.2.0
poetry
pyproject.toml
  • python >=3.10,<4.0
  • flask *
  • flask-assets *
  • lesscpy *
  • cssmin *
  • jsmin *
  • python-dotenv *
  • pytest *
  • black *
  • isort *
  • gunicorn *
  • flask-sock *

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.