OwnOutright — app.ownoutright.com Upload Package
================================================

FOLDER STRUCTURE ON SERVER:
  app.ownoutright.com/
  ├── .htaccess             (already included — handles URL routing)
  ├── vault/
  │   ├── index.php         (invoice app)
  │   └── print/
  │       └── index.php     (print/PDF view)
  └── data/                 (CREATE THIS FOLDER — must be writable)

SETUP STEPS:

1. Upload .htaccess to the root of app.ownoutright.com
2. Upload the vault/ folder to the root of app.ownoutright.com
3. Create a folder called "data" in the root — this is where customer databases are stored
4. Set "data" folder permissions to 755 (writable by PHP)
5. Confirm PHP 7.4+ and SQLite3 are enabled (standard on cPanel hosts)

URL ROUTING:
  app.ownoutright.com/TOKEN        → vault app for that customer
  app.ownoutright.com/TOKEN/print  → print view

STRIPE WEBHOOK:
  After a purchase, your webhook creates:
    data/TOKEN/invoices.db
  This is what activates the customer vault.
