new install -

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
phpgraham
Posts: 4
Joined: 04 Dec 2017, 11:17

new install -

Post by phpgraham » 04 Dec 2017, 11:21

Hi

Just ran a new install
"aimeos/aimeos-laravel": "~2017.10.3"
"php artisan vendor:publish --tag=public --force",
"php artisan vendor:publish",
"php artisan migrate",
composer update

It responded nothing to migrate ?

Is this correct? is there no database tables to install ?
Last edited by phpgraham on 04 Dec 2017, 12:00, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: new install - nothing to migrate ?

Post by aimeos » 04 Dec 2017, 11:22

The database tables are created with this command:

Code: Select all

./artisan aimeos:setup
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

phpgraham
Posts: 4
Joined: 04 Dec 2017, 11:17

Re: new install -

Post by phpgraham » 04 Dec 2017, 11:26

Ignore that post
the next command sets up tables :)
php artisan aimeos:setup --option=setup/default/demo:1

all going well so far..
Last edited by phpgraham on 04 Dec 2017, 12:00, edited 1 time in total.

phpgraham
Posts: 4
Joined: 04 Dec 2017, 11:17

Re: new install -

Post by phpgraham » 04 Dec 2017, 11:44

I noticed in instructions you have:
To see all components and get everything working, you also need to create your main Blade template in resources/views/app.blade.php.
Laravel 5.5 default install now puts app.blade.php in resources/views/layouts folder

So to get aimeos to work you have to move the app.blade.php file from
resources/views/layout folder
to
resources/views folder

then site is viewable

phpgraham
Posts: 4
Joined: 04 Dec 2017, 11:17

Re: new install -

Post by phpgraham » 04 Dec 2017, 12:03

i notice all the javascript and css is linked to https://cdnjs.cloudflare.com

the admin site hangs waiting for this download

Is there a way to set up to disable cloudfare linkage and just have local routing of js / css / images ?
for local development server this would be best, i can understand production live server usage of cloudfare is best

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: new install -

Post by aimeos » 04 Dec 2017, 21:54

You can overwrite the Blade template for the JQAdm interface and replace the cloudflare links by links to local files:
https://github.com/aimeos/aimeos-larave ... .blade.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply