Manifesto:
- Views
- must be pure
- must be self-contained
- any html data format should be supported
- hiccup
- hickory
- enlive
- template can be used
- moustache
- html
- Layout
- the collation of the layout should be done in data and not in a monolithic template
- Pipeline
- during rendering each stage must be
- inspectable for debugging
- optimizable, e.g all database queries could be batched
- during rendering each stage must be
When you first clone this repository, run:
lein setup
This will create files for local configuration, and prep your system for the project.
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.
user=> (reset)
:reloading (...)
:resumed
Testing is fastest through the REPL, as you avoid environment startup time.
user=> (test)
...
But you can also run tests through Leiningen.
lein test
This project has several generators to help you create files.
lein gen endpoint <name>
to create a new endpointlein gen component <name>
to create a new component
FIXME: steps to deploy
Copyright © 2015 FIXME