Sha256: b20df52e1fff8a1aeb757db7f85ce2e464e00034dfcf0610363939d86e255bb0

Contents?: true

Size: 1.58 KB

Versions: 5

Compression:

Stored size: 1.58 KB

Contents

# BrowserAppBase

Windows and Linux browser-based desktop application templates.

You need a Chrome browser to run it.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'browser_app_base'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install browser_app_base

## 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_browser_app -d ~/test/ -a MyApp

## add application code
    $ cd ~/test/
    $ vi my_app.rb

```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).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kuwayama1971/BrowserAppBase.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
browser_app_base-0.0.7 README.md
browser_app_base-0.0.6 README.md
browser_app_base-0.0.5 README.md
browser_app_base-0.0.4 README.md
browser_app_base-0.0.3 README.md