aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

Create offline version as part of build process #299

Closed aroberge closed 7 years ago

aroberge commented 8 years ago

A version using only local files included in the repo (instead of versions found on CDNs) should be automatically re-build (by commenting in/out some lines in reeborg.html) each time the project is built. This would allow easy working without an Internet connection.

projetmbc commented 8 years ago

Yes that would be great !

aroberge commented 8 years ago

This now works except for some missing multimedia files (images and sound) for the blockly version.

projetmbc commented 8 years ago

Great !

projetmbc commented 8 years ago

Indeed, I can't use it.

Is there something special to do either to simply open the index.html files ?

aroberge commented 8 years ago

To run either the offline or regular version locally, you do need to have a webserver running. I usually type python -m http.server in the directory where the html file is located and point the browser to http://localhost:8000/reeborg_offline.html Note that you need to have the content of the repository (most files anyway) on your computer for this to work.

projetmbc commented 8 years ago

Ok, thats's totally logical.

You should indicate this in your Readme file.

Thanks.

aroberge commented 8 years ago

I had added some information ... but probably need to add more.

projetmbc commented 8 years ago

Great. This works well !

aroberge commented 8 years ago

Need to add local version of roboto font. And, ideally, find a way to include local version of blockly multimedia files...