Skip to content

Commit 58e7255

Browse files
committed
install.md v0.2.5--> v0.2.7
1 parent b500347 commit 58e7255

File tree

2 files changed

+19
-22
lines changed

2 files changed

+19
-22
lines changed

Installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
1. Installation
22
=============
33

4-
The lastest release is 0.2.5. Please check the [Update History](HISTORY.md) for more details.
4+
The lastest release is 0.2.7. Please check the [Update History](HISTORY.md) for more details.
55

66
1.1 Installation by Binary
77
-------------
88

9-
1. First you can download Release 0.2.5 from [here](https://sourceforge.net/projects/nginx-clojure/files/).
9+
1. First you can download Release 0.2.7 from [here](https://sourceforge.net/projects/nginx-clojure/files/).
1010
The zip file includes Nginx-Clojure binaries about Linux x64, Linux i586, Win32, Win64 and Mac OS X.
1111
1. Unzip the zip file downloaded then rename the file `nginx-${os-arc}` to `nginx`, eg. for linux is `nginx-linux-x64`
1212

@@ -44,6 +44,6 @@ For Win32 users MUST check out nginx source by hg because the zipped source does
4444
$ cd nginx-clojure
4545
$ lein jar
4646
```
47-
Then you'll find nginx-clojure-${version}.jar (eg. nginx-clojure-0.2.5.jar) in the target folder.
47+
Then you'll find nginx-clojure-${version}.jar (eg. nginx-clojure-0.2.7.jar) in the target folder.
4848
The jar file is self contained. If your project use clojure it naturally depends on the clojure core jar, e.g clojure-1.5.1.jar.
4949
If your project use groovy it naturally depends on the groovy runtime jar, e.g. groovy-2.3.4.jar.

Installation.md.html

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<h1>
2-
<a name="user-content-1-installation" class="anchor" href="#1-installation" aria-hidden="true"><span class="octicon octicon-link"></span></a>1. Installation</h1>
2+
<a id="user-content-1-installation" class="anchor" href="#1-installation" aria-hidden="true"><span class="octicon octicon-link"></span></a>1. Installation</h1>
33

4-
<p>The lastest release is 0.2.5. Please check the <a href="HISTORY.md">Update History</a> for more details.</p>
4+
<p>The lastest release is 0.2.7. Please check the <a href="HISTORY.md">Update History</a> for more details.</p>
55

66
<h2>
7-
<a name="user-content-11-installation-by-binary" class="anchor" href="#11-installation-by-binary" aria-hidden="true"><span class="octicon octicon-link"></span></a>1.1 Installation by Binary</h2>
7+
<a id="user-content-11-installation-by-binary" class="anchor" href="#11-installation-by-binary" aria-hidden="true"><span class="octicon octicon-link"></span></a>1.1 Installation by Binary</h2>
88

99
<ol>
10-
<li>First you can download Release 0.2.5 from <a href="https://sourceforge.net/projects/nginx-clojure/files/">here</a>.
10+
<li>First you can download Release 0.2.7 from <a href="https://sourceforge.net/projects/nginx-clojure/files/">here</a>.
1111
The zip file includes Nginx-Clojure binaries about Linux x64, Linux i586, Win32, Win64 and Mac OS X.</li>
1212
<li>Unzip the zip file downloaded then rename the file <code>nginx-${os-arc}</code> to <code>nginx</code>, eg. for linux is <code>nginx-linux-x64</code>
1313
</li>
1414
</ol>
1515

1616
<h2>
17-
<a name="user-content-12-installation-by-source" class="anchor" href="#12-installation-by-source" aria-hidden="true"><span class="octicon octicon-link"></span></a>1.2 Installation by Source</h2>
17+
<a id="user-content-12-installation-by-source" class="anchor" href="#12-installation-by-source" aria-hidden="true"><span class="octicon octicon-link"></span></a>1.2 Installation by Source</h2>
1818

1919
<p>Nginx-Clojure may be compiled successfully on Linux x64, Linux x86 32bit, Win32, Win64 and Mac OS X x64.</p>
2020

@@ -27,31 +27,28 @@ <h2>
2727
<li>
2828
<p>Setting Java header include path in nginx-clojure/src/c/config</p>
2929

30-
<div class="highlight highlight-nginx"><pre><span class="c1">#eg. on ubuntu</span>
31-
<span class="k">JNI_HEADER_1="/usr/lib/jvm/java-7-oracle/include"</span>
32-
<span class="s">JNI_HEADER_2="</span><span class="nv">${JNI_HEADER_1}/linux"</span>
33-
</pre></div>
30+
<div class="highlight highlight-nginx"><pre><span class="pl-c">#eg. on ubuntu</span><span class="pl-pdv"></span>
31+
<span class="pl-pdv">JNI_HEADER_1=<span class="pl-s1">"/usr/lib/jvm/java-7-oracle/include"</span></span>
32+
<span class="pl-pdv">JNI_HEADER_2=<span class="pl-s1">"${JNI_HEADER_1}/linux"</span></span></pre></div>
3433
</li>
3534
<li>
3635
<p>Add Nginx-Clojure module to Nginx configure command, here is a simplest example without more details about <a href="http://wiki.nginx.org/InstallOptions">InstallOptions</a></p>
3736

38-
<div class="highlight highlight-bash"><pre><span class="c">#If nginx source is checked out from hg, please replace ./configure with auto/configure</span>
39-
<span class="nv">$.</span>/configure <span class="se">\</span>
40-
--add-module<span class="o">=</span>nginx-clojure/src/c
41-
<span class="nv">$ </span>make
42-
<span class="nv">$ </span>make install
43-
</pre></div>
37+
<div class="highlight highlight-bash"><pre><span class="pl-c"><span class="pl-pdc">#</span>If nginx source is checked out from hg, please replace ./configure with auto/configure</span>
38+
$./configure \
39+
--add-module=nginx-clojure/src/c
40+
$ make
41+
$ make install</pre></div>
4442
</li>
4543
<li>
4644
<p>Create the jar file about Nginx-Clojure</p>
4745

4846
<p>Please check the lein version <code>lein version</code>, it should be at least 2.0.0.</p>
4947

50-
<div class="highlight highlight-bash"><pre><span class="nv">$ </span><span class="nb">cd </span>nginx-clojure
51-
<span class="nv">$ </span>lein jar
52-
</pre></div>
48+
<div class="highlight highlight-bash"><pre>$ <span class="pl-sf">cd</span> nginx-clojure
49+
$ lein jar</pre></div>
5350

54-
<p>Then you'll find nginx-clojure-${version}.jar (eg. nginx-clojure-0.2.5.jar) in the target folder.
51+
<p>Then you'll find nginx-clojure-${version}.jar (eg. nginx-clojure-0.2.7.jar) in the target folder.
5552
The jar file is self contained. If your project use clojure it naturally depends on the clojure core jar, e.g clojure-1.5.1.jar.
5653
If your project use groovy it naturally depends on the groovy runtime jar, e.g. groovy-2.3.4.jar.</p>
5754
</li>

0 commit comments

Comments
 (0)