Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.61 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.61 KB

Test results Latest release swift 5.3 shield swift 5.4 shield swift 5.5 shield Platforms: macOS, Linux

Lilliput on the Web

This is a web based host/driver for the Lilliput text adventure engine.

The host is written in Swift (as is Lilliput), and uses Vapor.

It's very crude at the moment, with pretty much no UI, and the user's entire input history is evaluated every time they visit their profile page -- which gets the job done, but isn't at all efficient.

Local Testing

Install Postgres

Install with brew install postgresql

(Migrate database with brew postgresql-upgrade-database)

Create Database

Setup database:

psql postgres

CREATE ROLE vapor WITH LOGIN PASSWORD 'vapor'; ALTER ROLE vapor CREATEDB; CREATE DATABASE test;