New Noir project with Leiningen 2
You may have noticed that the instructions on webnoir.org are not working with Leiningen 2 - they are just working with Leiningen 1.
So lets start a Noir project with Leiningen 2. Open
~/.lein/profiles.clj
Modify it to:
{:user {:plugins [[lein-noir "1.2.1"]
]}}
To start a new project you now enter
lein new noir my-projectname
on your console. Use
cd my-projectname && lein run
to load the dependencies and start a webserver.
Written by Robert Kowalski
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Clojure
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#