-
Notifications
You must be signed in to change notification settings - Fork 123
Deploying Amber
WORK IN PROGRESS!!!
I'm guessing this is all old info...
The latest Amber does not call loadAmber in index.html, but... loadAmber({..., deploy: true}); //Changing deploy to true will make amber load *.deploy.js files which are the same files but without debug infos, etc. Also, it won't load the compiler, etc. [3]
I also don't see any *.deploy.js files... To deploy an app, I create a single file with the *.deploy.js files generated in the js/ directory [1]
At the end of the JavaScript file, you can set the deployment mode to true to avoid method context creation, and speed up your app - smalltalk.setDeploymentMode(); [1]
"amber/{devel,deploy,lang} exports" ? [2]
- http://forum.world.st/Production-Deployment-td3860639.html
- http://forum.world.st/ANN-Amber-0-12-6-released-td4765945.html#a4765954
- http://forum.world.st/deploying-an-application-td4570735.html#a4606286
More info about version 0.13 at http://stackoverflow.com/questions/9911809/amber-smalltalk-creating-a-single-js-file-for-deployment