jrief / django-angular

Let AngularJS play well with Django
http://django-angular.awesto.com/
MIT License
1.23k stars 294 forks source link

Js files management #209

Closed adrienbrunet closed 8 years ago

adrienbrunet commented 8 years ago

Hi @jrief, the files in /djangular/static refers to django-angular v0.7.11 (in the comments) See https://github.com/jrief/django-angular/blob/master/djangular/static/djangular/js/django-angular.js

Even if it's up to date, we should provide a way to generate these files each time a js file is updated and update the version as well. Either manually and each contributor will have to do it if they update a js file or automagically. Also in both case, we should add a "contribute" section in the docs t explain that..

What did you used so far to generate these files ?

Cheers

jrief commented 8 years ago

So far I used grunt, and there is a Gruntfile.js in folder client. Nowadays I'd use gulp, but this has to be written yet. Also, I havn't found any nice way yet to start gulp/grunt from within a Python process without requiring a shell. Having to rely on a shell can be a major problem any non-Unix development system. Any ideas?

adrienbrunet commented 8 years ago

Oh yeah you're absolutely right. I did not see the conf files. We need to add some more tools to sync our djangular.version and the client package.json version but that's it.