Closed sethxd closed 3 months ago
@sethxd I was running into the same issue trying to run the website in XAMPP on Windows 11. Windows doesn't seem to like php artisan ra:storage:link --relative
so I ended up having to create the symlinks myself. You can run these commands from the console (not powershell) within the RAWeb directory:
mklink /D public\storage ..\storage\app\public
mklink /D storage\app\static\assets ..\public\assets
mklink /D storage\app\static\vendor ..\public\vendor
mklink /D docs\dist ..\storage\app\static\docs
mklink /D public\Badge ..\storage\app\media\Badge
mklink /D public\Images ..\storage\app\media\Images
mklink /D public\bin ..\storage\app\media\bin
mklink /D public\UserPic ..\storage\app\media\UserPic
mklink public\latestintegration.html ..\storage\app\latestintegration.html
mklink storage\app\media\UserPic\_user.png ..\..\..\..\public\assets\images\user\avatar-safe.png
mklink storage\app\media\UserPic\root.png ..\..\..\..\public\assets\images\user\avatar-safe.png
mklink storage\app\media\Images\000001.png ..\..\..\..\public\assets\images\game\icon-safe.png
mklink storage\app\media\Badge\00001.png ..\..\..\..\public\assets\images\achievement\badge.png
mklink /D public\media ..\storage\app\media
mklink /D public\docs ..\storage\app\static\docs
It may need further testing, but the default game icon, user pic, root (dev) pic, and default achievement icons all seem to load properly now.
Thanks for helping @TwosomesUP!
I'll go ahead and close this issue as resolved - happy to reopen if further investigation is warranted.
@TwosomesUP Thanks so much for your help! Life got crazy and I haven't had a chance to try it yet but looks like it'll solve my problem.
Describe the bug On my local machine, I'm able to get a build of the site up and running, but this one command is failing. The site is functional but links to all image assets are broken. Feels like something is off, the filepaths it's saying are being connected don't look quite right, and I tried to make some tweaks to filesystems.php but don't have enough Laravel knowledge.
To Reproduce Steps to reproduce the behavior:
php artisan ra:storage:link --relative
Expected behavior Symbolic links to be created correctly, images to display in the local environment.
Screenshots
Desktop (please complete the following information):
Additional context Adding the contents of my current .env file below: