Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Base-2016 theme folder empty after install #5101

Closed
PhillippOhlandt opened this issue Mar 30, 2016 · 13 comments
Closed

[BUG] Base-2016 theme folder empty after install #5101

PhillippOhlandt opened this issue Mar 30, 2016 · 13 comments

Comments

@PhillippOhlandt
Copy link
Contributor

Hey,

i followed this guides to setup an installation of Bolt with the create-project and another with the manual method. I used the standard configuration, shown in the docs to setup my test installations.

And on both installations, the public/theme/base-2016 folder is empty. I got no errors on the installation.

Details

  • Relevant Bolt Version: 3.0.0 beta 1
  • Install type: Composer create-project install, manual with own composer.json
  • PHP version: 7.0
  • Used webserver: php dev server
  • Systen: Mac OSX
@PhillippOhlandt PhillippOhlandt changed the title [BUG] Base-2016 theme empty after install [BUG] Base-2016 theme folder empty after install Mar 30, 2016
@GwendolenLynch
Copy link
Contributor

Just tried here with latest everything and it Works for Me™ … can you re-test?

@jdhmtl
Copy link

jdhmtl commented Apr 7, 2016

Hope I'm not stepping on any toes here, but I have had similar experiences with a similar setup. Using composer create-project installed the themes as expected (though I could have sworn this was not the case a couple of days ago) but the manual installation described here -- and specifically the composer.json detailed here -- left the theme installation incomplete. /public/theme/base-2016 was created, but no files were copied into it. Adding "Bolt\\Composer\\ScriptHandler::installThemesAndFiles" to the post-update-cmd of composer.json installs all themes and files correctly.

System Details

Bolt: 3.0.0-beta1
PHP Version: 7.0.5
Web Server: Apache 2.4.16
OS: OS X 10.11.3

@GwendolenLynch
Copy link
Contributor

@jdhmtl: No toes were harmed in the making of this issue thread 😉

Was the installThemesAndFiles entry in the post-create-project-cmd section of your project's composer.json when you ran composer create-project?

@jdhmtl
Copy link

jdhmtl commented Apr 7, 2016

@GawainLynch When I ran composer create-project last night, it was. The installs last Saturday that matched @PhillippOhlandt 's results exactly, I couldn't say.

@GwendolenLynch
Copy link
Contributor

When I ran composer create-project last night, it was.

Can I take from that it's working for you now?

@jdhmtl
Copy link

jdhmtl commented Apr 7, 2016

composer create-project is working as expected, yes. The manual install detailed on the Bolt site leaves the theme folder created but empty, but that's possibly more a documentation issue than a code issue.

@GwendolenLynch
Copy link
Contributor

OK… So @anketwokings dropped the jar of Stupid this morning… and it broke… and poisoned me 😉

Which one of these qualifies as the "manual way"?

@ankedsgn
Copy link

ankedsgn commented Apr 7, 2016

@GawainLynch :/
haha!

@jdhmtl
Copy link

jdhmtl commented Apr 7, 2016

@GwendolenLynch
Copy link
Contributor

As in you skipped this section?
image

…assuming if that's a "yes", then the way the headings layout wasn't obvious that part was related?

@jdhmtl
Copy link

jdhmtl commented Apr 7, 2016

No, I followed the instructions through the rest of the page. post-create-project-cmd doesn't fire because you're running composer install and installThemesAndFiles is not included in the post-install-cmd or the post-update-cmd sections of that composer.json. Adding this last bit allowed it to install as I would have expected.

@GwendolenLynch
Copy link
Contributor

See… I told you about the jar, here is what it looked like before it broke:
jarofstupid1

@GwendolenLynch
Copy link
Contributor

Fixed in bolt/docs#349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants