This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 386
How to install Ticketit
AngeMort edited this page Apr 5, 2021
·
6 revisions
Ticketit is an install-able package for Laravel, therefor it has some dependents that are required for Ticketit to work, make sure they are installed and ready for Ticketit.
First Make sure you have got all dependents working:
Installing Ticketit using composer:
- Run this code via your terminal from the Laravel project root (where composer.json is located)
composer require kordy/ticketit
- After installation is finished, you have to add this line to
config/app.php
in Providers section.
Kordy\Ticketit\TicketitServiceProvider::class,
- Install database tables by running the migrate artisan command
php artisan migrate --path=vendor/kordy/ticketit/src/Migrations
- Admin privileges Then, in your Users table, you have to change the value of 'ticketit_admin' by 1, for your user Admin.
Example for Debian 9.8 / MariaDB 10 :
#mysql -u root
> use <DATABASE_NAME>;
>UPDATE users SET ticketit_admin = '1' WHERE id = <ID_USER_ADMIN>;