README.md in browser_app_base-0.0.2 vs README.md in browser_app_base-0.0.3

- old
+ new

@@ -22,19 +22,44 @@ ## Usage create_browser_app [options] -d, --dir dir_name application directory + -a, --app app_name application name -h, --help command help -create app templat +## Create app templat - $ create_browser_app -d ~/test/ + $ create_browser_app -d ~/test/ -a MyApp -start application +## add application code + $ cd ~/test/ + $ vi my_app.rb - $ cd ~/test/app +```ruby + class MyApp < AppMainBase + def start(argv) + super + # add application code + end + + def stop() + super + # add application code + end + end +``` + +ui application sample + + index.html + css/index.css + js/main.js + +## Start application + + $ cd ~/test/ $ ruby start.rb ## Development To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).