Liking cljdoc? Tell your friends :D

Yetibot development

Setup

Postgres

Yetibot needs a postgres database. It defaults to yetibot but this is configurable. Ensure you have Postgres installed, then create the database:

createdb yetibot

Build a Docker image

lein do clean, uberjar

REPL

Start up a development REPL with:

lein repl

Run:

(start)

To load a core set of commands and connect to any configured adapters.

At this point a typical dev workflow would be to iteratively write and reload code from your editor as is common in the Clojure community. See Essentials for docs on setting up various editors for Clojure development.

You can also optionally load all commands from the REPL using:

(load-all)

To fully reload and restart the adapters and database connections, use:

(reset)

And to stop, simply use:

(stop)

See source for yetibot.core.repl for more info.

Linting

Run:

codeclimate analyze

From the repo root to lint.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close