I have setup the dev environment on a Windows 7 machine. I had some problems (and solutions) that I want to share here. I hope this is Ok.
1: Setup fails if you don’t have a Github account AND - in advance - add your new (or existing) SSH key to your GitHub account. Workaround: If you want to checkout without an account you have to change the Github URL in _Vagrantfile`
# Remote locations of repositories # this is for use with github account # SPRYKER_REPOSITORY = ENV['SPRYKER_REPOSITORY'] || "email@example.com:spryker/demoshop.git" # this is for use without account SPRYKER_REPOSITORY = ENV['SPRYKER_REPOSITORY'] || "git://github.com/spryker/demoshop.git"
2: Setup fails again because setup tries to use an invalid path within Windows. In box.ovf you will find
<vssd:VirtualSystemIdentifier>Spryker Dev VM (build: ci-53) </vssd:VirtualSystemIdentifier>
but the : (colon) is not allowed within a Windows path.
Workaround: replace each occurrence of ‘(build: ci-53)’ by ‘(build ci-53)’
3: zsh is not working well with Virtualbox. Shell becomes slow and does some erratic things with the prompt. The Installation Guide says
"Your local code installation will be mounted as a network share inside the VM to /data/shop/development/current. Inside this folder, composer and npm will be used to install additional dependencies."
Within this setup the script setup-frontend.sh is called. Within this script NPM is called:
sudo $NPM install -g github:spryker/antelope
Called from zsh this fails because of file system rights incompatibility.
Workaround: When this script is run from bash-shell it will work and setup completes.