view website/src/install.html.luan @ 1926:4206242c7a13

better css
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 23 Apr 2025 15:34:48 -0600
parents 8c637b047a42
children 1461449b6074
line wrap: on
line source

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