-
Notifications
You must be signed in to change notification settings - Fork 123
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.
- Pharo is installed and launched
- AmberOneClick is installed and started
- 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
- Open your browser
- go to http://localhost:4001/
Now, you can create your packages, objects and commit them inside your project dir.
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.