Skip to main content

A simple daemon to watch and collectstatic files for django projects

Project description

django-collectstatic-daemon

This is a simple daemon that will watch your project directory and collectstatic files whenever there is a change. This is often times useful when you are working with node/npm project and you need to collectstatic files after npm build/prod/watch converts the statis resources.

Install

  1. Install the package

    pip install django-collectstatic-daemon

  2. Add ‘watcher’ to your list of INSTALLED_APPS in settings.py

    INSTALLED_APPS = [
        ...
        ...
        'watcher'
    ]

Using

Using the command is as simple as running

./manage.py watcher

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-collecstatic-daemon-0.3.tar.gz (17.2 kB view details)

Uploaded Source

File details

Details for the file django-collecstatic-daemon-0.3.tar.gz.

File metadata

  • Download URL: django-collecstatic-daemon-0.3.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for django-collecstatic-daemon-0.3.tar.gz
Algorithm Hash digest
SHA256 a3dad7d9ddce29302d64119058b83ff0f8761a2ccfcf817f71fc16907c88978b
MD5 c352302663f2bdb51c7685f0bc49e366
BLAKE2b-256 5e5c6749704d4ccdb723ea42668d46aac286bb717462de73e96fbf3832b567d4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page