Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ojarva/django-compressor-heroku-buildpack
Heroku buildpack for django-compressor
https://github.com/ojarva/django-compressor-heroku-buildpack
buildpack css cssmin django django-compressor heroku js minifier staticfiles
Last synced: 4 days ago
JSON representation
Heroku buildpack for django-compressor
- Host: GitHub
- URL: https://github.com/ojarva/django-compressor-heroku-buildpack
- Owner: ojarva
- License: mit
- Created: 2018-01-04T16:52:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T13:03:35.000Z (almost 4 years ago)
- Last Synced: 2023-03-23T01:25:45.246Z (over 1 year ago)
- Topics: buildpack, css, cssmin, django, django-compressor, heroku, js, minifier, staticfiles
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Heroku buildpack for django-compressor
[Django-compressor](https://django-compressor.readthedocs.io/en/latest/) is a convenient static files processor for Django, bundling and compressing JS and CSS files from regular HTML tags, without need to define bundles separately.
This buildpack runs offline compression with `python manage.py compress --force`, if `django-compressor` exists in `requirements.txt`. No other configuration options are checked to determine whether compress should run.
Licensed under [MIT license](LICENSE.md).
## How to enable this buildpack?
Go to https://dashboard.heroku.com/ , select your application, settings, "Add buildpack". Enter `https://github.com/ojarva/django-compressor-heroku-buildpack.git` to buildpack URL field.
Alternatively use Heroku CLI tool with `heroku buildpacks:add https://github.com/ojarva/django-compressor-heroku-buildpack.git`.
## How to contribute?
Fork [this repository](https://github.com/ojarva/django-compressor-heroku-buildpack) in Github, create a new branch, make your changes and create a new PR.
This buildpack is only for django-compressor, and exclusive for Heroku. Please create a separate buildpack if you want to add support for any other plugins/addons/...