Mercurial Hosting > luan
changeset 1924:8c637b047a42 default tip
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 20 Apr 2025 21:20:08 -0600 |
parents | d2a1dbfd402f |
children | |
files | .hgignore build.sh update.sh website/src/index.html.luan website/src/install.html.luan |
diffstat | 5 files changed, 38 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sun Apr 20 20:54:34 2025 -0600 +++ b/.hgignore Sun Apr 20 21:20:08 2025 -0600 @@ -8,7 +8,7 @@ *.n go local/ -luan-*.tar +luan.tar .DS_Store host/sites/ host/logs/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.sh Sun Apr 20 21:20:08 2025 -0600 @@ -0,0 +1,3 @@ +#!/bin/bash + +scripts/build-luan.sh
--- a/update.sh Sun Apr 20 20:54:34 2025 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -set -e -cd `dirname $0` -hg pull -u -scripts/build-luan.sh
--- a/website/src/index.html.luan Sun Apr 20 20:54:34 2025 -0600 +++ b/website/src/index.html.luan Sun Apr 20 21:20:08 2025 -0600 @@ -26,7 +26,7 @@ <ul links> <li><a href="why.html">Why Luan?</a></li> <li><a href="docs.html">Documentation</a></li> - <li><a href="download/">Download</a></li> + <li><a href="install.html">Installation</a></li> <li><a href="https://hg.reactionary.software/repo/luan">Source</a></li> <li><a href="support.html">Support</a></li> <li><a href="goodjava.html">The goodjava Library</a></li>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/website/src/install.html.luan Sun Apr 20 21:20:08 2025 -0600 @@ -0,0 +1,33 @@ +local Luan = require "luan:Luan.luan" +local error = Luan.error +local Io = require "luan:Io.luan" +local Http = require "luan:http/Http.luan" +local Shared = require "site:/lib/Shared.luan" +local head = Shared.head or error() +local header = Shared.header or error() + + +return function() + Io.stdout = Http.response.text_writer() +%> +<!doctype html> +<html> + <head> +<% head() %> + <title>Luan Installation</title> + </head> + <body> +<% header() %> + <div content> + <h1>Luan Installation</h1> + + <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> + + <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> + + <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> + </div> + </body> +</html> +<% +end