Closed zhouchang2017 closed 5 years ago
@zhouchang2017 By default you can access Nova by domain.test\nova
If you want to change URI path. Go to LaravelApp/config/nova.php
Search for 'path' => '/nova',
Here you can change your own url.
@haneef5k Maybe I didn't describe it clearly,
I want to install both nova, one for site users and one for site administrators
What I do is I have 2 subdomains with 2 different laravel projects installed. The license covers domain names, so you can have sub-domains installed there.
Then, both point to the same database connection.
You'll have
admin.domain.test/nova and dashboard.domain.test/nova
@waygou it is same codebase so subdomain level don't seem to be matching. May be he want to create customer side admin panel and admin side admin panel just url is different. Its a edge case.
@shirshak55 All I want to say is what you said, I want to share a set of code base to do different user management systems
@zhouchang2017 it may be abit difficult but you can use permissions, authorizations etc. with this you can hide the thing from customer that you don't want to see. If you want admin not to see you can hide it too. But i am thinking boilerplate will be too high . How about you just reuse the same database but different code base?
@zhouchang2017 I would like to suggest you to point root domain which is domain.test
, but based on the user role you can show the resources. This way easily you can maintain the one code base.
Use one copy of Nova and use the authorization methods and policies to provide access to resources.
How to install both nova in a laravel project,
For example one is
domain.test/admin
, The other isdomain.test/dashboard