> For the complete documentation index, see [llms.txt](https://gerardbalaoro.gitbook.io/cpdtrack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gerardbalaoro.gitbook.io/cpdtrack/tech-guide/installation.md).

# Installation

## Command Line Installer

Once the environment configurations are set, fire up the command terminal at the root of the application folder and run the command.

```bash
php artisan app:install [options]
```

![](https://4278294911-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXjy9WYkoOkTQkZmIcz%2F-LYRXdA9q2ENBD33xl4s%2F-LYRXgbZQbmpnYO94Poo%2Finstall.gif?alt=media\&token=148ecc42-4a66-4bcb-a28f-233481cad596)

| Options | Description |
| ------- | ----------- |

| `-d`, `--dummy` | Generate dummy data |
| --------------- | ------------------- |

| `-c`, `--clean` | Generate dummy data *(will destroy all exisiting data)* |
| --------------- | ------------------------------------------------------- |

| `-r`, `--refresh` | Refresh migrations *(will destroy all exisiting data)* |
| ----------------- | ------------------------------------------------------ |

| `-u`, `--username` | <p>Default Administrator Account Username.</p><p><code>php artisan app:install --username=superadmin</code></p> |
| ------------------ | --------------------------------------------------------------------------------------------------------------- |

| `-p`, `--password` | <p>Default Administrator Account Password.</p><p><code>php artisan app:install --password=PASSW0RD!!</code></p> |
| ------------------ | --------------------------------------------------------------------------------------------------------------- |

{% hint style="warning" %}
It is important to modify the default credentials created by the installation script.
{% endhint %}

## Upgrading

When upgrading to a later version, simply overwrite the application files and run the command below.

```bash
php artisan app:update
```
