A blog engine written in Lua and powered by Lapis, Fomantic-UI & Trumbowyg.
Lapis, OpenResty and PostgreSQL are assumed to be installed.
- PostgreSQL -
- Login as postgres. (su postgres)
- Run psql.
- Create user (luna_user).
- CREATE USER luna_user WITH PASSWORD 'luna_user';
- Create database (luna_blog).
- CREATE DATABASE luna_blog OWNER luna_user;
- Review migrations.lua and update the username/password combination.
- Run lapis migrate.
- Install md5 & luafilesystem.
- sudo luarocks install md5
- sudo luarocks install luafilesystem
- Start luna_blog.
- sudo lapis server