Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added instructions for Leiningen 2 to the README #133

Merged
merged 1 commit into from

2 participants

@jakubholynet

More and more people use Leiningen 2 (which is no the default) so it would be good to provide instructions for it as well.

@jakubholynet jakubholynet Updated README for Leiningen 2
More and more people use Leiningen 2 (which is no the default) so it would be good to provide instructions for it as well.
0c6d6d9
@Raynes Raynes merged commit 8ab53c3 into noir-clojure:master
@Raynes
Owner

Thanks!

@jakubholynet

Hi Anthony, thank you for taking care of Noir and showing that it is not dead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 26, 2012
  1. @jakubholynet

    Updated README for Leiningen 2

    jakubholynet authored
    More and more people use Leiningen 2 (which is no the default) so it would be good to provide instructions for it as well.
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.