yeswework / fabrica-dev-kit

A toolkit for faster, smoother WordPress 5 development
https://fabri.ca/
MIT License
274 stars 27 forks source link

Error while running wpconfig() task #15

Closed maxperei closed 7 years ago

maxperei commented 7 years ago

hi there, when i run gulp for the first time in /dev after a complete and successful ./setup.rb i got this message

Error: Command failed: docker exec container_wp wp option get siteurl

and when i execute docker exec container_wp wp option get siteurl i should return something like http://localhost:32769 but nothing happen...

i'm trying to share a theme i made with FDK, but i don't know how to deal with docker

maxperei commented 7 years ago

also when i go to http://localhost:327** i got this :

screenshot
andrewstaffell commented 7 years ago

Hi @maxperei, could you paste the full output from gulp please?

maxperei commented 7 years ago

hi @fewerflatlands 😌 output.txt

andrewstaffell commented 7 years ago

Did you make any changes in the src folder (specifically, PHP) after setup?

maxperei commented 7 years ago

nothing at all

andrewstaffell commented 7 years ago

and this happens the same every time you run gulp?

maxperei commented 7 years ago

yes unfortunately, i did not experience this error with the previous version of FDK

andrewstaffell commented 7 years ago

could you paste a screengrab of the contents of the dev/build/ folder?

maxperei commented 7 years ago

here it is :

screenshot

i'm noticing that there's no /vendor inside

tiojoca commented 7 years ago

Is there a vendor/ in dev/src/includes/? Can you try running composer install there?

maxperei commented 7 years ago

of course i should launch composer install from the very beginning, thank you

andrewstaffell commented 7 years ago

@maxperei setup.rb runs composer install automatically... did you get any error messages during the original install? Let us know what happens next time you set up a project? Thanks.