> For the complete documentation index, see [llms.txt](https://taffo.gitbook.io/hotcoffee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://taffo.gitbook.io/hotcoffee/customization-and-logic/artisan-commands.md).

# Artisan Commands

## hotcoffee:install

`php artisan hotcoffee:install`

This will run the initial installation script. No need to run it a second time after that.

## hotcoffee:make-admin

`php artisan hotcoffee:make-admin`

Create a new admin user. The command will ask you for a user name, e-mail and password. Alternatively you can add the user name and email as options:

`php artisan hotcoffee:make-admin --name=taffo --email=contact@taffovelikoff.com`

## hotcoffee:delete-user

`php artisan hotcoffee:delete-user user@email.com`

Find user by e-mail and delete it.

## hotcoffee:module

`php artisan hotcoffee:module name --folder=some_folder`

This will create a boilerplate for a new "module". So for example `php artisan hotcoffee:module product --folder=front` will generate:

* A `ProductController` in `app/Http/Controllers/Front`.
* A `Product` model in `app`.
* A `products.blade.php` template to list all of the products in `resources/views/front`.
* A `product.blade.php` template to create/edit a product in `resources/views/front`.
