This project contains various Amber Smalltalk examples. Amber may run in a web browser or as a command line program.
npm
as well.amber
npm packagebower
client side package manager in order to install the dependenciesgrunt
task runner which is used as the command line build systemThe amber
and bower
packages can be installed with the following command (In some cases you have to call npm
with sudo npm
):
npm install --global amber-cli bower grunt-cli
or the same thing, but less typing:
npm i -g amber-cli bower grunt-cli
Reference: http://docs.amber-lang.net/js-glossary.html
Clone the repository
git clone https://github.com/amber-smalltalk/amber-examples.git
Get dependencies of this project:
cd amber-examples
git submodule update --init --recursive
npm install
bower install
Amber runs in the browser and this includes an IDE.
To have access to this start a small web server:
amber serve
and point your browser to
http://localhost:4000/
Build or recompile a command line example (e.g. nodejs) by executing
grunt
in the subdirectory.
The subdirectories might contain additional README files which might contain additional information.
grunt
is used as commandline build system.