diff 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
line wrap: on
line diff
--- /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