googlecreativelab / teachable-machine-boilerplate

Boilerplate code for Teachable Machine
https://googlecreativelab.github.io/teachable-machine-boilerplate/
Apache License 2.0
507 stars 160 forks source link

Loading files without web server #2

Closed nadendlaprasad closed 6 years ago

nadendlaprasad commented 6 years ago

could you please let me know how can i build and load the files without using budo or any other web server?

can i do using the following command ? browserify main.js --debug | exorcist bundle.js.map > bundle.js

HalfdanJ commented 6 years ago

You can run npm build which runs browserify main.js -o dist/build.js, this makes a static version of the site that the index.html file is referring to, so if you opening that file wont require a webserver. This is how the demo is generated and hosted.

nadendlaprasad commented 6 years ago

Thank you.