/onyx-log-ui

Real-time Onyx cluster monitoring

Primary LanguageClojure

onyx-log-ui

FIXME: description

Developing

Setup

When you first clone this repository, run:

lein setup

This will create files for local configuration, and prep your system for the project.

Next connect the repository to the Heroku app:

heroku git:remote -a FIXME

Environment

To begin developing, start with a REPL.

lein repl

Run go to initiate and start the system.

user=> (go)
:started

By default this creates a web server at http://localhost:3000.

When you make changes to your source files, use reset to reload any modified files and reset the server. Changes to CSS or ClojureScript files will be hot-loaded into the browser.

user=> (reset)
:reloading (...)
:resumed

If you want to access a ClojureScript REPL, make sure that the site is loaded in a browser and run:

user=> (cljs-repl)
Waiting for browser connection... Connected.
To quit, type: :cljs/quit
nil
cljs.user=>

Testing

Testing is fastest through the REPL, as you avoid environment startup time.

user=> (test)
...

But you can also run tests through Leiningen.

lein test

Generators

This project has several generators to help you create files.

  • lein gen endpoint <name> to create a new endpoint
  • lein gen component <name> to create a new component

Deploying

To deploy the project, run:

lein deploy

Legal

Copyright © 2016 FIXME