handesk icon indicating copy to clipboard operation
handesk copied to clipboard

Run Handesk with existing Laravel project

Open claudsonm opened this issue 7 years ago • 6 comments
trafficstars

It is possible to run the Handesk with a existing Laravel project? As if it was a common package.

I'm asking this because the installation process aims a clean installation.

claudsonm avatar Feb 27 '18 23:02 claudsonm

Actually it is meant to run as standalone app, so you don't merge two different things, But I find that a really easy way to go is to have it on the same server with virtual hosts so you can have

handesk.yourdomain.com and yourdomain.com at the same server

if you need comunication between both apps, you can use the api (https://github.com/BadChoice/handesk-php)

BadChoice avatar Feb 28 '18 10:02 BadChoice

Do users then have to have 2 registrations/logins? One to the main site and one to the Handesk?

blm-unikent avatar Mar 05 '18 10:03 blm-unikent

Right now, as handesk goes appart, they need to, but we can try to work on something to make it use just one, we can try to create some kind of auth driver so you can configure it to use your main site’s users

Jordi Puigdellívol

El 5 de marzo de 2018 a las 11:15:42, Brian Merritt ( [email protected]) escribió:

Do users then have to have 2 registrations/logins? One to the main site and one to the Handesk?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BadChoice/handesk/issues/101#issuecomment-370372431, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFuzGRiBafLYhsJZvQjKmdxruvlLqcjks5tbRBMgaJpZM4SVy-N .

BadChoice avatar Mar 05 '18 10:03 BadChoice

It makes sense to run it as a separated thing. But in fact, this thing about having two login systems is not optimal.

But if we had some kind of integration, would be a blast!

claudsonm avatar Mar 05 '18 19:03 claudsonm

yeah, we would need to have a laravelApp auth driver o something like this, but the problem is that we need to auth it there, so the other app needs some kind of endpoint, or handesk needs to know about the other app key an auth database connection

BadChoice avatar Mar 06 '18 14:03 BadChoice

If running on the same server, you could have a background process that adds the users from one site to handesk (assuming both use the same password encryption algorithms).

Alternatively, they could use the same login details for both - less secure, but easier for users.

ediblemanager avatar Mar 26 '18 09:03 ediblemanager