-
Notifications
You must be signed in to change notification settings - Fork 99
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
Auto detecting /web and /public #42
Comments
Sorry. @pgib ...just wanted to clarify a few things. One is that I did of course boost my max search depth, I think it is set to 5. Two, and this is just to be clear about my wishes – "the dream" is to be able to create a folder at some location, say... And it seems like this dream used to be a reality....or what? |
This seems to work for me:
And then my virtual host file has:
|
Oh, I see: in |
…se a custom log folder if BATCH_MODE=yes was set. So you can now set: LOG_FOLDER="__DOCUMENT_ROOT__/logs" In your `~/.virtualhost.sh.conf` file, and `__DOCUMENT_ROOT__` will get substituted for the document root you've picked. Note that this requires a Ruby runtime, which should be already satisfied on any Mac OS X platform. sed wizards are welcome to submit a PR to remove this requirement.
@pgib Sorry, I've tried everything I can think of on a number of machines now, and it really feels like this feature is broken in the most recent version of your wonderful script.
Note that
vhost-stage
is just my alias for your script,...It is running in batch mode, but still...it seems to completely ignore the existence of web or public subfolders. And if I disable batch mode it just ignores or fails to ask about web or public altogether.I rely on this feature as I typically organize project materials like /docs and /logs and other things I don't want part of the public-facing web part of the project at the root level of the folder.
Would you mind just testing this in your own environment at some point?
The text was updated successfully, but these errors were encountered: