hodooor / Hodoor

Server side for Hodoor - Casual attendance system
GNU General Public License v3.0
8 stars 6 forks source link

Install javascript dependencies by NPM #43

Closed OndrejVicar closed 7 years ago

OndrejVicar commented 7 years ago

It would be great to delete all javascript library dependencies and install them by npm package manager.

patriczek2811 commented 7 years ago

Like this? https://github.com/kevin1024/django-npm

OndrejVicar commented 7 years ago

I don't think it's necessary. I would use just package.json and npm_modules in root directory of project - classic npm init command. And then link all dependencies from static folder files to this npm_modules directory. Somethink like first case in this SO topic: http://stackoverflow.com/questions/41966065/django-npm-and-node-packages-architecture

We will then add npm install to the initializing sequence and thats it.

patriczek2811 commented 7 years ago

Actually working on it ;) seems good