akeneo / pim-community-dev

[Community Development Repository] The open source Product Information Management (PIM)
http://www.akeneo.com
Other
950 stars 512 forks source link

akeneo / pim-community-standard #13713

Open JacekKoprowski opened 3 years ago

JacekKoprowski commented 3 years ago

Hi, I'm was following the steps in https://github.com/akeneo/pim-community-standard

The requirements are ok: Docker 19+ docker-compose >= 1.24 make

But after running the following commande: docker run -u www-data -v $(pwd):/srv/pim -w /srv/pim --rm akeneo/pim-php-dev:4.0 \ php -d memory_limit=4G /usr/local/bin/composer create-project --prefer-dist \ akeneo/pim-community-standard /srv/pim "4.0.*@stable"

I'm getting an error message: [InvalidArgumentException] Project directory "/srv/pim" is not empty. create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []

Did someone of you already had this issue? Any solutions for this? Thanks! Jacek

mmetayer commented 3 years ago

Hello @JacekKoprowski, you have to run the commands from an empty directory, the container's /srv/pim folder is mapped to your current directory