aimeos / ai-laravel

Laravel adapter for Aimeos web shops and e-commerce solutions
https://aimeos.org/Laravel
GNU Lesser General Public License v3.0
122 stars 13 forks source link

Fresh installation issues (many to list) #7

Closed itwerxdotca closed 3 years ago

itwerxdotca commented 3 years ago

I attempted to install ai-laravel as a stand alone app. There are a multitude of errors. Composer: 2.0.8 PHP: 7.4 OSX: 10.14.6 (homebrew package manager)

`composer create-project aimeos/aimeos gulfislandartisans Creating a "aimeos/aimeos" project at "./gulfislandartisans" Installing aimeos/aimeos (2018.10.3)

As you can see, the errors are quite extensive. The app does not create directories correctly either. When visiting the app none of the css, JS, or graphics are loaded into the html.

This is from the .env file: APP_URL=http://localhost/gulfislandartisans/public Could this a possible cause for the files not getting loaded properly. I do not understand if that is the case.

aimeos commented 3 years ago

2018.10 is very old and not supported any more, current version is 2020.10. Don't know why composer tries to install such an old version. Can you force composer to install the latest one using:

composer create-project aimeos/aimeos:~2020.10 gulfislandartisans

Also installing Aimeos into a subdirectory isn't supported. The document root of localhost must point to the gulfislandartisans/public directory