Hi there,
I’ve managed to get devvm running on my LMDE2 (jessie) host system with latest virtualbox / vagrant versions setup and the code of https://github.com/spryker-shop/suite inside the project folder.
I followed the https://academy.spryker.com/getting_started/installation_guide.html and builded and started the vm with the command:
VM_PROJECT=suite SPRYKER_REPOSITORY="git@github.com:spryker-shop/suite.git" vagrant up
So, in my /etc/hosts file there are several “*.suite.local” entries placed, but if I tried to access Yves (or Zed) I got following exception message:
Spryker\\Yves\\Application\\Plugin\\Exception\\InvalidUrlConfigurationException - Incorrect HOST_YVES config, expected
www.de.suite.local, got
www.de.demoshop.local. Set the URLs in your Shared/config_default_DE.php or env specific config files.
I found several “*.demoshop.local” entries inside the project folder, but any changes did not apply. I also disabled PHP opcache (checked via phpinfo();). Phpinfo told me also that “demoshop” was defined for the variables VM_DOMAIN and VM_PROJECT.
My “solution” was to add following PHP code at the beginning of the file public/Yves/index.php:
putenv('VM_DOMAIN=suite'); putenv('VM_PROJECT=suite');
With this I can access the shop frontend. I tried to find the definition of these both env vars, but I did not found it until now.
Can you tell me please where these both env variables will be set in the box?
Thanks