# KYN POS Server Upload Checklist

## Before upload

- Confirm you are uploading the latest master base app package.
- Do not upload old K41 POS files.
- Do not upload old SQL dumps, logs, backups, or payment/card files.
- Keep only `/public` as the web-accessible document root.

## cPanel setup

1. Create a database in cPanel MySQL Databases.
2. Create a DB user.
3. Assign the DB user to the DB with required privileges.
4. Point the dev subdomain document root to:

```text
/path/to/kyn_pos/public
```

5. Copy:

```text
/inc/config.local.example.php
```

to:

```text
/inc/config.local.php
```

6. Fill in DB credentials in `inc/config.local.php`.

## First install

Temporarily set:

```php
'install' => [
    'enabled' => true,
    'allow_locked_reinstall' => false,
]
```

Open:

```text
/public/install.php
```

Then immediately set:

```php
'install' => [
    'enabled' => false,
    'allow_locked_reinstall' => false,
]
```

## Verification

Open:

```text
/public/preflight.php
```

Then test:

```text
page.php?p=login
page.php?p=pos_tables
page.php?p=kds
page.php?p=setup_devices
page.php?p=setup_printers
page.php?p=sync_status
```

## Demo login

```text
Staff: Demo Owner or Demo Server
PIN: 123456
```

Change the demo PIN/staff before real use.
