Git Product home page Git Product logo

Comments (11)

MohamedHana avatar MohamedHana commented on May 17, 2024 29

Follow these steps:

1- Add service provider to providers array on the config/app.php
2- Run php artisan config:cache
3- Run composer update
4- Run php artisan config:cache
5- Run php artisan vendor:publish

from aimeos-laravel.

aimeos avatar aimeos commented on May 17, 2024 6

Then you've probably forgotten to add the service provider line in config/app.php

from aimeos-laravel.

sjeswinder avatar sjeswinder commented on May 17, 2024 1

Got it !! I thought you just referred to the three publish command given in composer.json at top of doc page.

from aimeos-laravel.

sjeswinder avatar sjeswinder commented on May 17, 2024

If i refer to documentation there it asks to add service provider post running

composer update
laravel-install aimeos - aimeos documentation 2016-04-27 17-46-22

from aimeos-laravel.

aimeos avatar aimeos commented on May 17, 2024

After you've added the service provider, there are four "artisan" command which you have to execute. The first one will publish the files.

from aimeos-laravel.

sjeswinder avatar sjeswinder commented on May 17, 2024

I got that . it's working. I just want to suggest for right flow of command. One need to add the service provider in config/app.php before executing composer update.

I think there can be a small change in docs mentioning this. Hope you got what i want to say.

from aimeos-laravel.

aimeos avatar aimeos commented on May 17, 2024

There was a problem when you do it before. That led to an exception as far as I remember.

from aimeos-laravel.

sjeswinder avatar sjeswinder commented on May 17, 2024

Without adding service provider to config/app.php , if you run composer update, it won't publish the files. This is what i faced after reading the documentation, which adds the service provider after running composer update. You added three line in composer.json...

Anyways my issue is resolved. Hope you can modify the documentation marking users to add service provider and then run command to publish the file.

from aimeos-laravel.

aimeos avatar aimeos commented on May 17, 2024

This is already the case. php artisan vendor:publish is among the last commands to be executed and in the documentation after adding the service provider class.

from aimeos-laravel.

rockeycse avatar rockeycse commented on May 17, 2024

I can't use this package as local url like http://localhost/aimeos/public/admin. How can I run the package without artisan command?

from aimeos-laravel.

aimeos avatar aimeos commented on May 17, 2024

The "public" directory needs to be the document root.
You need the artisan commands not only for installation but also for e.g. sending the e-mail confirmations or rebuilding the product index. Without, you won't have any fun.

from aimeos-laravel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.