Calling Developers!
We are reenergizing our code contribution process! Learn More

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

Heya, for the bootcamp do you have to use the vagrant devvm or can you use docker development? if y

Options
U01JBB8LNTE
U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet

Heya, for the bootcamp do you have to use the vagrant devvm or can you use docker development? if you can use docker development what do you need to run the console command? composer?

Comments

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    looks like it's looking for vendor/bin/console

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    so the vendor file is built in docker and the sync'd or something? is there a way to rebuild the vendor file, maybe the composer yml is missing the local linkage to the container? am i meant to build it locally on my own machine? that would seem to me counter-intuitive...

  • You can also use docker. There might be minor differences, but no showstoppers

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    ah, so you need to reference the actual command to the docker container docker/sdk console

  • In the docker setup guide you will see the usage of the docker sdk that will allow you to call the console in a container

  • Yes, like in your example

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    okee, so then is there some sort of sync command? I ran docker/sdk console code;generate:module:yves HelloWorld

    given what Hussam seys in the video that would lead me to believe that there would be a HelloWorld module in Yves.

    but no dice

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    so I check maybe it didn't work, try running it agian?

    ❯ docker/sdk console code:generate:module:yves HelloWorld
    -->  DEVELOPMENT MODE   
    Store: DE | Environment: docker.dev
    [warning] Already exists: Pyz/Yves/HelloWorld/Controller/IndexController.php
    [warning] Already exists: Pyz/Yves/HelloWorld/Plugin/Provider/HelloWorldControllerProvider.php
    [warning] Already exists: Pyz/Yves/HelloWorld/Theme/default/index/index.twig
    [warning] Already exists: Pyz/Yves/HelloWorld/HelloWorldFactory.php
    
  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    which means it did create it on the docker instance, but I don't have it locally, I'm thinking...

  • there is a docker-sync process running in the background, indeed

  • what is your OS?

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    mac

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    do I need rsync or something?

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    maybe I need to add docker-sync to my path...

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    gem install docker-sync had to do this awhile back to get things rolling

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    idk looks like docker-sync is running

         success  Sync container started
         success  Starting Docker-Sync in the background
    
  • i think it would warn you otherwise 🤔

  • i guess the experts on that are not available anymore today. it’s pretty late here

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    hey no worries, thanks for the response anyway

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    I'll give it a bump with some deets coming into next week.

  • just as a little headsup: the bootcamp will get an update on monday, in case you face something broken, would be nice to post this in

  • otherwise i wish you a nice weekend!

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 🧑🏻‍🚀 - Cadet
    Options

    u2 🙏 thanks @UJN2JRU4F

  • this actually sounds like one for