Sha256: 8b243ce50ba6a36515c33935eee334eddbf98bbad6d594e74ef3d9285cb21f73
Contents?: true
Size: 528 Bytes
Versions: 3
Compression:
Stored size: 528 Bytes
Contents
# Hello World Example App This is a very basic example Opal App. To get this running, firstly install the dependencies (which is just opal): ``` bundle install ``` Next we need the opal runtime. You can either download it from [http://opalrb.org/opal.js](http://opalrb.org/opal.js), or use the handy rake task: ``` rake runtime ``` This builds `opal.js`. Finally, to build the `app.rb` file, run the simple rake task: ``` rake build ``` Which builds the app into `app.js`. Open `index.html` and observe the alert dialog.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
opal-0.3.20 | examples/hello_world/README.md |
opal-0.3.19 | examples/hello_world/README.md |
opal-0.3.18 | examples/hello_world/README.md |