Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

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:

  1. Laravel 5.1
  2. Users table
  3. LaravelCollective HTML
  4. Laravel email configuration
  5. Check if App\User exists

Installing Ticketit using composer:

  1. Run this code via your terminal from the Laravel project root (where composer.json is located)
	composer require kordy/ticketit
  1. After installation is finished, you have to add this line to config/app.php in Providers section.
	Kordy\Ticketit\TicketitServiceProvider::class,
  1. Install database tables by running the migrate artisan command
	php artisan migrate --path=vendor/kordy/ticketit/src/Migrations
  1. 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>;