Skip to content

robert-stuttaford/bridge

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
dev
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

bridge

An event registration system for ClojureBridge. Read the blog post.

Dev diary:

Development

Install the Clojure CLI, clone this repo.

Try it out

To build the Cljs and run the web server:

make compile serve

Visit http://localhost:8080, and sign in with test@cb.org / secret.

Interactive development with the REPL and Figwheel

I use Emacs, CIDER, and clj-refactor, so I assume that you have cider-refresh available to you.

make figwheel

Once it's running, connect CIDER to port 7890, and issue a cider-refresh (C-c C-x) to start the system.

Run tests

make test

Package for production

make pack

And then run the jar:

java -jar bridge.jar -m bridge.service

Database

By default, we use an in-memory database.

If you want your database to be durable, you'll need to run a Datomic Free transactor, and set an environment variable:

export BRIDGE_DATOMIC_URI="datomic:free://localhost:4334/bridge"

Documentation

License

Copyright © Robert Stuttaford

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages