Ophal aimed to become a highly scalable web platform, easy to maintain, learn, extend and open to improvements.
Development workflow and release policy: docs/branching-and-releases.md.
Ophal now targets OpenResty as its supported web runtime. CGI support has been removed. Use nginx.ophal.conf as the starting point for deployment and the OpenResty-based example Docker image in examples/Dockerfile for local development.
Ophal has the following dependencies:
- Seawolf (http://github.com/ophal/seawolf)
- LuaSocket
- LPEG
- LuaFilesystem
- LuaDBI
- luuid
- dkjson
- LuaCrypto (only if user module is enabled)
The repository includes a small ophal command-line entrypoint:
./ophal help
./ophal cache clear
./ophal sha256 mypassword
./ophal install check
./ophal install init ./mysite --site-name "My Site"
./ophal migrate
./ophal migrate status
./ophal module enable comment
./ophal module disable commentinstall check verifies required Lua dependencies and reports local config
state. install init scaffolds settings.lua, vault.lua, and the files
directory for a new local site.
module enable/disable persists local overrides in settings/modules.lua,
which is ignored by git by default so it can stay workspace-specific.
migrate applies registered framework and module migrations and initializes the
local migration tracking table when needed.