htm-community / htmengine-traffic-tutorial

HTM Engine example application: live NYC traffic anomaly detection.
GNU General Public License v3.0
20 stars 14 forks source link

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

Open JonnoFTW opened 9 years ago

JonnoFTW commented 9 years ago

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?

rhyolight commented 9 years ago

Thanks, I think I can fix this pretty easily.