Hannes Hirzel b2f4f1509f git as prerequisite added | 10 years ago | |
---|---|---|
android | 11 years ago | |
googlecharts @ 51e1efdbcb | 10 years ago | |
hello | 10 years ago | |
nodejs | 10 years ago | |
presentation | 10 years ago | |
processing | 10 years ago | |
trysmalltalk | 10 years ago | |
.gitignore | 10 years ago | |
.gitmodules | 10 years ago | |
README.md | 10 years ago | |
bower.json | 10 years ago | |
index.html | 11 years ago | |
package.json | 10 years ago |
Various amber examples
npm
as well.amber
npm packagebower
client side package manager in order to install the dependenciesThe 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
or the same thing, but less typing:
npm i -g amber-cli bower
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
Afterwards execute the server:
amber serve
and point your browser to
http://localhost:4000/
Since Amber 0.10.0 Grunt.js is used as commandline build system. To use it with the examples it is first necessary to install all dependencies with
npm install -g grunt-cli
cd amber-examples
npm install
Afterwards the examples can be built/recompiled by running the following command in the subdirectory of each example:
grunt
The subdirectories might contain additional README files which might contain additional information.