Walkable comes with a Duct setup as its development environment which can be found in dev directory.
{% hint style="info" %} Duct is a highly modular framework for building server-side applications in Clojure using data-driven architecture.
A more detailed guide for Duct can be found at:
https://github.com/duct-framework/docs/blob/master/GUIDE.rst {% endhint %}
Walkabe source code comes with three Leiningen profiles for three supported sql flavors: postgres, mysql and sqlite. You must specify one of them whenever you start a REPL server or run tests.
To begin developing, start with a REPL.
{% mdtabs title="Postgres" %}
lein with-profile postgres repl{% mdtab title="Mysql" %}
lein with-profile mysql repl{% mdtab title="Sqlite" %}
lein with-profile sqlite repl{% endmdtabs %}
Then load the development environment.
user=> (dev)
:loadedRun go to 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)
...