-
Notifications
You must be signed in to change notification settings - Fork 18
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
/var/www / site root thoughts #6
Comments
I'm not sure what you mean by the symlink… Are you referring to the file share? The default apache host is there but we generally don't really use it. We have the tool that deploys our code generate and deploy the apache vhost configuration (in our case that's fetcher). Puppet won't remove configuration files that it doesn't know anything about and so re-provisioning doesn't delete vhosts added in |
Ah, I see. For Fetcher it seems like I have to set it up on the remote host that I want to import first and then connect to that from my VM? |
Sort of. Fetcher can create a fresh site ( I'm actively working on building out some improved documentation for On Wed, Oct 9, 2013 at 5:58 AM, Kevin Kaland notifications@github.comwrote:
|
Cool, will keep an eye. Something I am really trying to work out is a good, easy way to do two-way file sync and avoid the NFS penalty on Big Enough Sites. Totally unrelated...but randomly wondered if you had thoughts on that. |
I haven't found the NFS penalty to be too bad, but I've also been known to On Thu, Oct 10, 2013 at 11:44 AM, Kevin Kaland notifications@github.comwrote:
|
Yeah, I know how to turn off the share, just a pain to get it all syncing sometimes. I use the big brother of PhpStorm + IdeaVim, so it is still nice to have the file syncing. I think I'm going to kick the tires of My hacked-up dumb combo of IDE-syncs-updated-files-to-VM + VM syncs sites/all changes to VM (covers most Drush operations, e.g. :/ |
Oh, getting it syncing. Right. Yeah, I don't know how much we can improve On Thu, Oct 10, 2013 at 3:30 PM, Kevin Kaland notifications@github.comwrote:
|
I like Vim for everything except debugging. Debugging's much easier to do with a dedicated debugging tool. Yeah, I hear you on the slowness. I actually find that it doesn't measurably shorten the feedback loop, probably since the SSH connection happens locally. I just know that on this one site it finally became tolerable after I moved the files in-VM. By tolerable, I mean that pages load in 5-10 secs instead of 10-20 ;) Vim's always an option in some contexts, though. Thanks for the thoughts. |
I've been using vdebug https://github.com/joonty/vdebug for debugging. It On Thu, Oct 10, 2013 at 5:45 PM, Kevin Kaland notifications@github.comwrote:
|
So I got a little caught out by the symlink to
/var/www
— probably because it didn't happen on myvagrant-parallels
box, but that is probably the provider's fault.I notice the default Apache host is set to
/var/www
— maybe the idea is that I set up my own vhost anyway, but it'd be nice to know the VM's expectations for this. And nice if there was a script to do it fast.Mostly cuz if I run
vagrant provision
again my Apache config changes would be overwritten no? And such. Not that I intend to though :)The text was updated successfully, but these errors were encountered: