> ## Documentation Index
> Fetch the complete documentation index at: https://docs.azvian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing a web app

> The steps every Azvian web app shares, from the downloaded zip to a working install

Every Azvian web app installs the same way. This page covers the common steps; each product's own Installation page adds what is specific to it.

**1. Check your hosting**

Read [Hosting requirements](https://docs.azvian.com/start/hosting-requirements.md) and the product's Installation page. You need a domain or subdomain, PHP, a database and a way to run a cron job.

**2. Create a database**

In your hosting panel (for example *MySQL Databases* in cPanel) create an empty database and a user with all privileges on it. Write down the host (usually `localhost`), database name, user and password. Uptime Monitor can use SQLite instead, which needs no setup.

**3. Upload the files**

Download the zip from your Gumroad receipt, unzip it on your computer, and upload the contents to your hosting (File Manager or FTP). Point the domain's document root at the `public/` folder, or upload into `public_html` where the product supports it (see [Hosting requirements](https://docs.azvian.com/start/hosting-requirements.md)).

**4. Open your site**

Visit the address in a browser. Because nothing is installed yet, you are taken to the installer automatically. It creates its own `.env` file and encryption key on the first visit; you do not edit anything by hand.

**5. Follow the installer**

It checks your server and tells you plainly what to fix, asks for your site address and your administrator account, and optionally your license key. Affiliate Manager, Contracts, Forms, Invoicer, Knowledge Base and QR & Link Manager also ask for your database details here; Uptime Monitor uses SQLite by default, or the `DB_*` lines in `.env` if you prefer MySQL or PostgreSQL. Nothing is changed until you confirm. When it finishes it locks itself: its pages return 404 afterwards, so it can never be run again over a live install.

**6. Add the cron job**

Add one line in your hosting panel under *Cron Jobs*, to run every minute. In every product except Uptime Monitor the installer's final screen shows the exact line for your install; for Uptime Monitor it is on its [Installation page](https://docs.azvian.com/uptime-monitor/installation.md), together with the queue worker it also needs. The line looks like this:

```bash theme={null}
* * * * * cd /path/to/your/install && php artisan schedule:run >> /dev/null 2>&1
```

If your host uses a different PHP for cron, put its full path at the start (for example `/opt/cpanel/ea-php83/root/usr/bin/php`); it must be PHP 8.2 or newer. No cron page? The installer also shows a secret URL that a free cron service can call every minute instead.

**7. Set up email**

Under **Settings → Email**, enter your SMTP account and press the test button. Invitations, password resets and notifications are all sent this way.

> [!WARNING]
>
> Keep a copy of your `.env` file somewhere safe. It holds your encryption key; without it, saved passwords and keys (SMTP password, license key, API tokens) cannot be read after a restore.

## If something goes wrong

* **A blank page or a 500 error on the first visit.** The web server cannot write to `storage/`, `bootstrap/cache/` or the install folder. Fix the permissions and reload. The details are in `storage/logs/laravel.log`.
* **The installer says a PHP extension is missing.** Switch it on in your hosting panel (*Select PHP Version* or *PHP Extensions*), then reload.
* **The installer warns that private files can be downloaded.** Your domain is not pointing at the `public/` folder. Fix the document root before you continue.
* **Links in emails point at the wrong address.** The site address you gave the installer is wrong. Change `APP_URL` in `.env` to the right one.

After installing, go to your product's own pages to set it up: [Affiliate Manager](https://docs.azvian.com/affiliate-manager/installation.md), [Contracts](https://docs.azvian.com/contracts/installation.md), [Uptime Monitor](https://docs.azvian.com/uptime-monitor/installation.md), [Forms](https://docs.azvian.com/forms/installation.md), [Invoicer](https://docs.azvian.com/invoicer/installation.md), [Knowledge Base](https://docs.azvian.com/knowledge-base/installation.md), [QR & Link Manager](https://docs.azvian.com/link-manager/installation.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.