Installation
Five minutes on a fresh VPS.
- Get the source.
git clone https://github.com/maskalix/PressLine.git pressline && cd pressline - Set DB credentials. Either edit
pl-config.phpdirectly, or export environment variables — they take precedence:export PL_DB_HOST=localhost export PL_DB_USER=pressline export PL_DB_PASS=secret export PL_DB_NAME=pressline - Run the installer. Open
/instalace/in your browser. The wizard has six steps: welcome → database → site info → images → SMTP → web set → done. State is kept in the session, so you can refresh without losing progress. - Done. The installer writes a marker file
.installedat the root. After that, the installer returns HTTP 403 — re-running it requires deleting that file first.
Default credentials
| Username | Password |
|---|---|
pressline | pressline24 |
Change them immediately. They are printed on the final wizard step and seeded into the users table from the schema.
Schema
The installer applies includes/schema.php — idempotent CREATE TABLE IF NOT EXISTS statements. Tables: articles, categories, media, preferences, users, roles, webset, activity_log, plugins.
Roles are seeded with three levels: user (1), admin (2), dev (3).