# Canvas

Composable web UIs in Julia

###Development

This package is not ready for mainstream use. However, if you want to help develop this package, use the following instructions to get started: 

_In a Julia REPL_

```julia
Pkg.clone("git@github.com:one-more-minute/Hiccup.jl.git")
Pkg.clone("git@github.com:one-more-minute/Mux.jl.git")
Pkg.checkout("Lazy")
Pkg.add("WebSockets")
Pkg.add("Markdown")
Pkg.checkout("Markdown")

Pkg.clone("git@github.com:shashi/Canvas.jl.git")
```

_On the command line, within the `assets/` subdirectory_

```sh
npm install -g bower
bower install
```

_On the command line, from within the Canvas.jl directory_

```sh
./bin/canvasd
```

This library uses `html import` functionality that is not enabled by default in Firefox. Either use Chrome, or enable the `dom.webcomponents.enabled` setting in Firefox's `about:config`. 



# Canvas

Composable web UIs in Julia

###Development

This package is not ready for mainstream use. However, if you want to help develop this package, use the following instructions to get started: 

_In a Julia REPL_

```julia
Pkg.clone("git@github.com:one-more-minute/Hiccup.jl.git")
Pkg.clone("git@github.com:one-more-minute/Mux.jl.git")
Pkg.checkout("Lazy")
Pkg.add("WebSockets")
Pkg.add("Markdown")
Pkg.checkout("Markdown")

Pkg.clone("git@github.com:shashi/Canvas.jl.git")
```

_On the command line, within the `assets/` subdirectory_

```sh
npm install -g bower
bower install
```

_On the command line, from within the `Canvas.jl/examples` directory_

```sh
../bin/canvasd
```

and navigate to `http://localhost:8000/layout.jl`

This library uses `html import` functionality that is not enabled by default in Firefox. Either use Chrome, or enable the `dom.webcomponents.enabled` setting in Firefox's `about:config`. 



Document starting canvasd from examples directory
Document starting canvasd from examples directory