and in the project.clj
:ring {:handler test-app.core/app}
which I am not sure if this will tell Ring where the web application is.
When you run $ lein ring server-headless
it will look for app
in the test-app.core
namespace. You should have something like the following in your core.clj
file:
(def app
(handler/site app-routes))
It is mostly this last part about creating the /resources/data directory where I am lost in the implementation. Could someone show how this part is done?
In the root of your project directory you should have a resources
folder. Create a data
folder inside the resources
folder.
I'm not sure what problem you're having?