Code Monkey home page Code Monkey logo

django-grunt's People

Contributors

skibblenybbles avatar

Stargazers

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

Watchers

 avatar  avatar

django-grunt's Issues

Local workflow

We're using the workflow where we build everything locally. It would be nice to be able to run grunt-watch (maybe even with runserver) using this, but unfortunately we couldn't.

Mention that it does not work on Windows platform

I built this project to improve my workflow with Django and Grunt. I work in a *nix environment, so I didn't bother with trying to support other platforms.

I tried anyway, and got the error below. Maybe mention in the readme that it does not work on Windows so other people won't have to try.

(env1) D:\Sites\storycollective\app>python manage.py grunt
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "D:\Sites\storycollective\env1\lib\site-packages\django\core\management\__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "D:\Sites\storycollective\env1\lib\site-packages\django\core\management\__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "D:\Sites\storycollective\env1\lib\site-packages\django\core\management\base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "D:\Sites\storycollective\env1\lib\site-packages\django\core\management\base.py", line 285, in execute
    output = self.handle(*args, **options)
  File "D:\Sites\storycollective\env1\lib\site-packages\commando\management\base.py", line 302, in handle
    validate(*arguments, **options)
  File "D:\Sites\storycollective\env1\lib\site-packages\grunt\management\grunt.py", line 44, in validate_grunt
    self.check_program("grunt")
  File "D:\Sites\storycollective\env1\lib\site-packages\commando\management\base.py", line 362, in check_program
    if not check_program(name):
  File "D:\Sites\storycollective\env1\lib\site-packages\commando\management\base.py", line 131, in check_program
    subprocess.check_call(("which", name), stdout=null, stderr=null)
  File "C:\Python27\Lib\subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "C:\Python27\Lib\subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "C:\Python27\Lib\subprocess.py", line 709, in __init__
    errread, errwrite)
  File "C:\Python27\Lib\subprocess.py", line 957, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Does django serve static files that have been modified after collectstatic?

I noticed that I could not get django to acknowledge changes to any static content that I had applied when invoking os.system("grunt taskname filelocation") after collect static. In your documentation you mention that this manage.py extension command is ok to run after collectstatic. Can you explain how this works? I have a related stack overflow post with more information: https://stackoverflow.com/questions/51098253/why-is-my-website-not-picking-up-changes-to-staticfiles

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.