What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Also: Running the bootstrap on my windows machine, NOT in the Ubuntu VM. I want to develop and bu
Also: Running the bootstrap on my windows machine, NOT in the Ubuntu VM. I want to develop and build on windows and only deploy docker containers to the Ubuntu
...anybody else fallen in this hole before? Thanks in advance for any ideas!
Comments
-
on windows you can use devvm (vagrant) or docker on wsdl, there is no other way as far as I know.
0 -
Not sure if you meant non-VM as in via Docker for Windows or completely natively, but if the latter, I would expand on this topic...
About a month and a half ago, I've actually tried to run our Spryker (B2B-based) project natively on Windows 10 as I previously had issues getting Virtualbox to work properly. I gave up after about 3 days after having tried 2 approaches:
• Natively with XAMPP portable (MariaDB instead of Postgres)
• Via Cygwin with apache and php7.3
All other dependent services - Redis 5, ES, RabbitMQ etc. - can be run natively and Spryker communicates with them over the network anyway.Problem: Currently a non-virtualized native setup is only possible on Linux.
Using PHP for Windows (via XAMPP or anything else)...
• While the PHP code of Spryker is largely cross platform, there are lots of little things even in the core libraries, which cause it to fail on Windows (e.g. console commands for Postgres DB management and install YAML recipes written to expect unix tools and a bash shell, use of posix_getpid(), etc.)
• And even with some simple hacks in the vendor libraries -> the classloader still choked when trying to resolve classes from Windows file paths, so all requests end with exceptions thrown
With some luck, maybe Cygwin might work (again, not officialy supported) but...
• Cannot choose the specific PHP runtime version (last I checked it's only php 7.3 available)
• I gave up mainly because it was so slow as to be unusable (mainly due to corporate AV)
So, the TL;DR: Unless you want to spend 3 days fighting windmills, you're probably better off getting docker or vagrant to work. 😛0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random