Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #133 from jakubholynet/master

Added instructions for Leiningen 2 to the README
  • Loading branch information...
commit 8ab53c3d7f76670ee672a25e03bf2a68857b83e9 2 parents d18e315 + 0c6d6d9
@Raynes Raynes authored
Showing with 12 additions and 1 deletion.
  1. +12 −1 README.md
View
13 README.md
@@ -6,14 +6,25 @@ Learn more at [Web Noir](http://www.webnoir.org) and see [Pinot](https://github.
## Usage
-The best way to get started with noir is by downloading the lein noir plugin for [leiningen](https://github.com/technomancy/leiningen):
+The best way to get started with noir is with the [leiningen](https://github.com/technomancy/leiningen) noir plugin.
+
+For Leiningen 1 run:
```bash
lein plugin install lein-noir 1.2.1
lein noir new my-website
+```
+For Leiningen 2 run instead (you may also [specify the lein-noir version to use in profiles.clj](https://github.com/technomancy/leiningen/wiki/Upgrading)):
+```bash
+lein new noir my-website
+```
+
+Then continue:
+```bash
cd my-website
lein run
```
+
If you want to include Noir in an already created leiningen project, simply add this to your dependencies:
```clojure
Please sign in to comment.
Something went wrong with that request. Please try again.