Laravel Valet Hello,
how do I link a project which webroot is a subfolder?
eg
my_project/public
When I navigate to the public folder and call in there link or park , I get public.test but the site isn't working properly (shopware)
Is there a way to park a folder but assign a domainname manually ?
What is the correct way, please?
You run it from the root of the project. Valet should auto detect the public folder and use that
@Sinnbeck it should but it doesn't. Ive got it working by using php monitor, it lets you manually set a domain name. So I just linked teh publci folder with teh domain shopware.test this works
When i just link in teh root folder, this folder get the webroot not the public subfolder
@tabors sounds like something got broken in your set up. Maybe because you tried linking the public directory. But good if it works I suppose
@Sinnbeck It was broken out of teh box, I removed and reinstalled valet, it simply doent work when i just link teh root folder
@tabors any spaces or special characters (non English) in the folder name?
I just tested it again, this is interesting, I get that when running valet which :
Fatal error: Uncaught Error: Class "ValetDriver" not found in /Users/tabors/.config/valet/Drivers/SampleValetDriver.php:3
Looks like there is something not correctly installed?
OK now it seams to work :
{
"tld": "test",
"loopback": "127.0.0.1",
"paths": [
"/Users/tabors/.config/valet/Sites"
]
}
previously this path pointed directkly to the sites folder, whyever
Please sign in or create an account to participate in this conversation.