Sha256: 83c0fa315eab2d7e7a551d8c1caad06c36c6b59c6c6b1b33175b95bf0fe125b9

Contents?: true

Size: 946 Bytes

Versions: 1

Compression:

Stored size: 946 Bytes

Contents

# How to start developing DXOpal

## Prerequisites

- Ruby (tested with 3.2.2)
- Node.js (to minify .js)

## Setup

```
$ git clone https://github.com/yhara/dxopal
$ cd dxopal
$ bundle install
$ npm install terser -g
$ rake server
$ open http://localhost:9292/
```

Developing dxopal-starter-kit:

```
$ cd dxopal  # Must be cloned into here
$ git clone https://github.com/yhara/dxopal-starter-kit
```

## Build .js

    $ rake build
    $ rake build_min  # Build and minify

(If some error is printed by build_min, make sure you have installed terser)

## Documents

Build API reference:

    $ rake api

## Directory structure

- build/ : Pre-compiled source code
  - dxopal.js
  - dxopal.min.js
- doc/
  - api/
  - en/
  - ja/
- examples/
- exe/
  - dxopal
- opal/ : Source code
  - dxopal.rb
  - dxopal/
- template/ : Template files for `dxopal init` command
  - index.html
  - main.rb
- vendor/
  - matter.js
  - pages-themes-dinky-14e8031/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dxopal-1.6.0 DEVELOPMENT.md