-
Notifications
You must be signed in to change notification settings - Fork 847
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: Craft Instructions on VVV produces directory issues #2703
Comments
Thanks for opening your first issue here! Be sure to follow the issue template and include your OS/Vagrant/VVV versions! Don't forget you can get support in the VVV slack at https://varyingvagrantvagrants.org/docs/en-US/slack/
|
Still reading this but some notes:
You only need goodhosts installed for VVV, hostsupdater was abandoned many years ago The you could add an nginx custom config in that provision folder but it's easier to do it via |
@ubuntupunk I've made some tweaks to the CraftCMS and Drupal examples at Varying-Vagrant-Vagrants/varyingvagrantvagrants.org#217 can you confirm if these are good for you? |
Yes, adding
public_dir: public_html/web
solves that issue.
The provisioner still needs some logic to check if there is already an
installation in the dir when reprovisioning?
…On Sun, 18 Feb 2024 at 17:16, Tom J Nowell ***@***.***> wrote:
@ubuntupunk <https://github.com/ubuntupunk> I've made some tweaks to the
CraftCMS and Drupal examples at
Varying-Vagrant-Vagrants/varyingvagrantvagrants.org#217
<Varying-Vagrant-Vagrants/varyingvagrantvagrants.org#217>
can you confirm if these are good for you?
—
Reply to this email directly, view it on GitHub
<#2703 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB4HBUPRLLSC4SP3RJYGFLYUILLLAVCNFSM6AAAAABDN6PGBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGM2TKMJYGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I don't know! The Drupal and Craft examples are speculative, nothing stops you using Drupal/Craft and you can install them manually but I thought Note that nothing in VVV is specifically written to support Craft other than the example in the page. The intention was to make it clear VVV isn't strictly for WordPress, and that you can manually install any PHP application, and via |
Are you using the latest stable or develop branch version of VVV?
Yes (develop)
Is it a new VVV, or an existing VVV that used to work?
New fresh install
Did you use a CustomFile?
No (default)
Whats the problem?
The nginx conf created by the craft provisioner produces:
But this is needed to work:
Also the provisioner will attempt to reinstall via composer inside the craft directory if vagrant reload --provision is actioned. The result will be an error, and and absent nginx config.
How do we reproduce it?
install craft according to instruction here
What is the output of
vagrant status
Which Operating System are you using?
Linux
Which provider are you using?
VirtualBox 7
The text was updated successfully, but these errors were encountered: