thekordy / ticketit

A simple helpdesk tickets system for Laravel 5.1+ which integrates smoothly with Laravel default users and auth system, demo is available at: http://ticketit.kordy.info/tickets
MIT License
875 stars 387 forks source link

Unable to complete Installation Process #575

Open ashi006 opened 3 years ago

ashi006 commented 3 years ago

Hello..

I'm trying to integrate ticketit package with my existing laravel project, but I'm unable to make it through.

I have installed the package using composer require 'kordy/ticketit:0.*' Added Kordy\Ticketit\TicketitServiceProvider::class in config/app.php Authentication is already working in my project and admins users are also created.

Now I'm stuck at further installation steps. When I run php artisan migrate command, it says nothing to migrate. http://my-project-url/tickets-install this url is also not working, says 404 not found. Also how to create mater view file? I have my project's base file located at resources/views/layouts/app.blade.php, will it work? or do I have to create separate view file for ticketit?

I'm using Laravel Framework 6.15.0 Any help would be appreciated..

ashi006 commented 3 years ago

Can someone please assist me?

angemort commented 3 years ago

Quelqu'un peut-il m'aider s'il vous plaît?

Hi, did you try : php artisan migrate --path=vendor/kordy/ticketit/src/Migrations Ref: https://github.com/thekordy/ticketit/wiki/How-to-install-Ticketit

angemort commented 3 years ago

Then, in your Users table, you have to change the value of 'ticketit_admin' by 1, for your user Admin. For Debian 8 :

#mysql -u root
> use <DATABASE_NAME>;
>UPDATE users SET ticketit_admin = '1' WHERE id = <ID_USER_ADMIN>;

For me this works.