-
Notifications
You must be signed in to change notification settings - Fork 123
Deploying Amber
Philippe Back edited this page Jan 26, 2015
·
13 revisions
The command
amber init
in version 0.13 and 0.14 creates among a number of other files a Gruntfile.js (http://gruntjs.com/).
With
grunt deploy
on the command line
your JavaScript file called the.js
is changed to contain everything which is needed for deployment.
This means for deployment you only need
index.html and the.js
to put in the target directory.
the.js
contains only JavaScript. No Smalltalk sources.
With
grunt devel
you switch back to development mode. You get a short version of the.js
Attention, js, css, and images are inlined in the js but not webfonts. Those must be copied over to the deployment. You must deploy them to identical path. You can search the.js in case you need to see where the.js will look.
This actually happens when using fontawesome.