Skip to content

Writing my first app with amberoneclick

Hannes Hirzel edited this page Jan 15, 2015 · 2 revisions

No longer valid for Amber versions 0.12 and later.

Pre-requisite

  • Pharo is installed and launched
  • AmberOneClick is installed and started

Project preparation

  • Create a new dir inside amber root dir
  • Create js and st dir inside your project
  • Copy index.hml from examples/myproject
  • Edit this file and modify amber.js path according to your project dir

Start your project

Now, you can create your packages, objects and commit them inside your project dir.

Continue your project

If you quit your project page, package will be lost in Browser :-( Don't panic, you just need to add them manual in html file.

  • edit the index.html file inside your project
  • add your js package names in files: [] section, like this: files: ['mypackage.js']

That all, reload your page. Package st should appear now.

Clone this wiki locally