Getting started

Installation

Five minutes on a fresh VPS.

  1. Get the source. git clone https://github.com/maskalix/PressLine.git pressline && cd pressline
  2. Set DB credentials. Either edit pl-config.php directly, 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
  3. 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.
  4. Done. The installer writes a marker file .installed at the root. After that, the installer returns HTTP 403 — re-running it requires deleting that file first.

Default credentials

UsernamePassword
presslinepressline24

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).