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..

hello, i am new to spryker. So what is the best way to install spryker in local system Docker or Usi

U01PD7V46LF
U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

hello, i am new to spryker. So what is the best way to install spryker in local system Docker or Using vagrant? is there any video source available for installation

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Depends on the host OS.
    But in general docker is better.
    No, there are only text installation guides from the documentation available.

  • U01PD7V46LF
    U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

    I am using windows
    should I go with Docker then?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Docker with WSL2 works fine for me but there are reports that WSL2 has an issue with memory consumption when during your work it will eat all the available memory and the whole system will become unresponsive.

    From this point of view vagrant may be a better choice.

  • U01PD7V46LF
    U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

    I tried vagrant but its backoffice is working but frontoffice is not working

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    I remember that thread.
    You've ended up in a state when the Redis and ES were empty by some reason.
    If you couldn't find a reason why is it so and my guidelines haven't helped, I would recommend to try to install it once again.
    Destroy vagrant devvm by running vagrant destroy amd removing everything done through the installation guide.

    Otherwise just try the docker with WSL2 variant.

  • U01PD7V46LF
    U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

    I tried installing again but same issue

  • U01PD7V46LF
    U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

    the site can't be reached (frontoffice )

    I tried adding www in front but nothing happens

  • U01PD7V46LF
    U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

    I am having 16 gb ram and SSD in my system

    So will there be still memory issue if I install using Docker?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    https://github.com/microsoft/WSL/issues/4166

    It's still open. Β―_(ツ)_/Β―

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Unfortunately Windows isn't that dev's friendly.
    The best option is to go with Linux + docker. Works flawlessly and fastest as docker has native support in linux's core.

  • U01PD7V46LF
    U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

    should I install ubuntu in VM and then try to install spryker

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Nope, that won't work well. Virtualization inside virtualization.
    Better to setup some Ubuntu as a second OS and have dual boot system.

  • U01PD7V46LF
    U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok thank you

  • UQ958DA4U
    UQ958DA4U Posts: 232 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited March 2021

    An Ubuntu VM using docker works fine (this also solves the VM-in-VM problem since Docker can use Linux native features to containerize instead of using a VM). It's a workaround some of my colleagues are using. I'd also go ahead and install an IDE in the VM and work from there, then.
    About setup: Are you sure your queue is empty? Spryker has an asynchronous model for data propagation known as "Publish & Synchronize". Please log in to the RabbitMQ (queue.* with Login spryker/secret) to see if all messages have been processed.

  • U01PD7V46LF
    U01PD7V46LF Posts: 47 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok