-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
It would be nice to start the fleetdb server by just running a lein command:
$ lein fleetdb
And possibly have fleetdb parameters in the developer's project.clj file. Maybe something like this:
(defproject demo/demo "1.0.0-SNAPSHOT"
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.1.0-master-SNAPSHOT"]
[org.clojure/clojure-contrib "1.0-SNAPSHOT"]
[swank-clojure "1.1.0"]
[fleetdb "0.1.1-SNAPSHOT"]
[fleetdb-client "0.1.1-SNAPSHOT"]]
:dev-dependencies [[leiningen/lein-swank "1.1.0"]]
:fleetdb-logfile "demo.fdb"
:fleetdb-port 3401)
And maybe even allow the developer to use lein to start the server with optional parameters to override the fleetdb settings in project.clj:
$ lein fleetdb -a 10.10.0.17 -p 3402
Then people won't have to type long commands or write their own scripts to start the server. If I get time and no one has created this yet, I might look into doing it myself (I don't think it would be much more complicated than the lein-swank plugin).
Reactions are currently unavailable