Mercurial Hosting > luan
comparison website/src/install.html.luan @ 1924:8c637b047a42
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 20 Apr 2025 21:20:08 -0600 |
parents | website/src/support.html.luan@6a95ec46404a |
children | 1461449b6074 |
comparison
equal
deleted
inserted
replaced
1923:d2a1dbfd402f | 1924:8c637b047a42 |
---|---|
1 local Luan = require "luan:Luan.luan" | |
2 local error = Luan.error | |
3 local Io = require "luan:Io.luan" | |
4 local Http = require "luan:http/Http.luan" | |
5 local Shared = require "site:/lib/Shared.luan" | |
6 local head = Shared.head or error() | |
7 local header = Shared.header or error() | |
8 | |
9 | |
10 return function() | |
11 Io.stdout = Http.response.text_writer() | |
12 %> | |
13 <!doctype html> | |
14 <html> | |
15 <head> | |
16 <% head() %> | |
17 <title>Luan Installation</title> | |
18 </head> | |
19 <body> | |
20 <% header() %> | |
21 <div content> | |
22 <h1>Luan Installation</h1> | |
23 | |
24 <p>Luan requires <a href="https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html">Java (JDK) 8</a>, so you must install this first.</p> | |
25 | |
26 <p>To just get a taste of Luan, you can download <a href="/download/">the tar file</a> and install it. This will let you run Luan.</p> | |
27 | |
28 <p>But for any serious work, you should get <a href="https://hg.reactionary.software/repo/luan/">the source</a>. Running <code>build.sh</code> will build and install Luan.</p> | |
29 </div> | |
30 </body> | |
31 </html> | |
32 <% | |
33 end |