17 lines
434 B
Lua
17 lines
434 B
Lua
local i = require("install")
|
|
if i.is_installed() then http.redirect("/") end
|
|
|
|
return send.html([[
|
|
<html>
|
|
<head>
|
|
<title>Dragon Knight Installation</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Dragon Knight Installation</h1>
|
|
<p>Installation for Dragon Knight is a simple two-step process: set up the database tables, then create the admin user. After that, you're done.</p>
|
|
<a href="/install/second"><button>Install</button></a>
|
|
</body>
|
|
</html>
|
|
]])
|