Setup Espruino site locally #5156
Replies: 1 comment
-
Posted at 2015-11-19 by @allObjects Looking into Therefore, I expect the site working locally, but just not with all modules minified. Is that correct? ...(edit): it is not running on http://localhost:3040/EspruinoBoard... see next post... :|( Remining question is: When Google compile service is granted again - after some period of inacitivity from my part - what is the procedure to complete the first build? Posted at 2015-11-19 by @allObjects It is not running on localhost:3040/EspruinoBoard ...the site brings some google search references... I started the site with
Interestingly, on a second start - I just gave it a shot, don't know why - it worked, but has obviously no menu or index. Using .../modules showed thent he modules page:
Questions:
Note: The modules and images folder are outside of the current directory space: Posted at 2015-11-19 by @gfwilliams This is stuff that @chalkers committed just yesterday, so it might need a few tweaks before it works first time.
Nothing you can do here without a lot of work. Just run it again tomorrow and it'll start where it left off and everything will be fine.
It's built from the Espruino sources. Check out the
No, but you have 'Modules' and similar pages
Yes, that's part of Espruino.com which isn't open source. You could add code to app.js that put a header and footer on to the pages it served up. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-11-19 by @allObjects
Tried to setup Espruino site locally as described at https://github.com/espruino/EspruinoDocs.
Everything ran pretty smooth until the modules directory got hit. Since it is a first-time build (with
./build.sh
), all minified versions of the modules are rebuilt...Invoking Google's closure compile service too often in a defined time frame gets you in trouble: service will be temporarily denied. Last time when I got service denied, I was developing a module and making frequent (micro) changes. Since I had the module source in the modules folder in the IDE sandbox, every time I uploaded the code to the board, the compile service was inoked, an Google felt I was abusing the service.
In the IDE though, options could be set to get over this hurdle and use the srevice only once in a while and at the end of a development cycle.
Two questions:
What are the options - if there are - to buid the site locally with skipping the compile service and do it later?
How do I get out of the mess of a halfway built site build?
Beta Was this translation helpful? Give feedback.
All reactions