htmengine-traffic-tutorial icon indicating copy to clipboard operation
htmengine-traffic-tutorial copied to clipboard

bootstrap-datetimepicker from node-client/site is not built

Open JonnoFTW opened this issue 9 years ago • 1 comments

After setting up the python engine configuration and running webapp.py, I run:

npm install .
npm start

I can access localhost:8083 but opening the browser console reveals that bootstrap-datetimepicker.min.js and bootstrap-datetimepicker.min.css are 404'd. I fixed it by doing:

cd site/bower_components/eonasdan-bootstrap-datetimepicker
composer install
npm install
grunt uglify:production
grunt less
rm -rf node_modules vendor bower_components

Perhaps consider adding the build dir to the project?

JonnoFTW avatar Sep 14 '15 06:09 JonnoFTW

Thanks, I think I can fix this pretty easily.

rhyolight avatar Sep 14 '15 16:09 rhyolight