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

how to transfer a spryker (vagrant) project ? Copy paste folder with app, but how to set virtual box

USLUHK9SQ
USLUHK9SQ Posts: 92 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
edited April 2020 in Help

how to transfer a spryker (vagrant) project ?
Copy paste folder with app, but how to set virtual box in other machine ?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 โœจ - Novice

    Probably this readme should help in this case - https://github.com/spryker/devvm/tree/develop/saltstack.

  • If you copied the whole directory (including hidden files and directories) to a new machine, that has vagrant and VirtualBox already installed, I think that just vagrant up would work.

  • USLUHK9SQ
    USLUHK9SQ Posts: 92 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
    edited April 2020

    @U010MDPMB3N, i copied whole directory, generate package.box, copied all to other machine, vagrant up, everything looks good i can enter to vagrant ssh, but in my browser i not see project
    PS. structure of catalogs are the same like in previous machine
    http://zed.de.b2c-demo-shop.local

  • Was this an existing project? Did you need to create an specific box for your project?

    The hostnames are handled by the hostmanager vagrant plugin. Do you have it on your setup? Is it set on the Vagrantfile?

  • USLUHK9SQ
    USLUHK9SQ Posts: 92 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    in my previous laptop i used this documentation, but in new machine with is sense to use it ? i want run the same on other machine, i got the think i can create new vagrant project from this documentation and override "project" folder with previous "project", but does this is correctly

  • The reason is only to know which are the requirements and to install the missing ones, if any. Do you have in the new machine the needed vagrant plugins?

  • rshopin
    rshopin Senior Solution Architect Sprykee Posts: 32 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Hello, in case if it's new laptop, my suggestion will be:
    1. Push your code to github
    2. Follow installation guide: https://documentation.spryker.com/docs/installation-guide-b2c
    3. When you'll met step 4:

    VM_PROJECT=b2c-demo-shop SPRYKER_REPOSITORY="<https://github.com/spryker-shop/b2c-demo-shop.git>" vagrant up
    

    adjust this parameters with your git repo and VM_PROJECT (domain) name