A test repository to play around with James Reeves' Duct framework (https://github.com/duct-framework/).
The code in this repo is an adaptation of his guide doc (see https://github.com/duct-framework/docs/blob/master/GUIDE.rst)
When you first clone this repository, run:
lein duct setupThis will create files for local configuration, and prep your system for the project.
To begin developing, start with a REPL.
lein replThen load the development environment.
user=> (dev)
:loadedRun go to prep and initiate the system.
dev=> (go)
:duct.server.http.jetty/starting-server {:port 3000}
:initiatedBy 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.
dev=> (reset)
:reloading (...)
:resumedTesting is fastest through the REPL, as you avoid environment startup time.
dev=> (test)
...But you can also run tests through Leiningen.
lein testCopyright © 2018 FIXME