-
Notifications
You must be signed in to change notification settings - Fork 4
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
SilverStripe files in "Public" directory #4
Comments
Hey Shea, A little reasoning why I'm doing like I'm doingI see a git repository as a self documented entity, preferably containing as much as possible about a project, including documentation, server configuration, etc. Making the web root directory configurableIt shouldn't be too hard making the root directory configurable. A quick search in affected modules shows this:
As to how to go about the configuration I propose to add an optional I'd say that by default it would be vars.sh from core would just read that configuration out, and it should be accessible as a variable in the global scope (just like vars-for-env.sh contains some hints on how to deal with default values. I'd love a refactor/simplification of the configuration system, but we'll take that another day :) |
@sheadawson I've just added the labels |
Nice one @anselmdk and thanks for the explanation. If I find some time I'll definitely be keen to contribute |
Hey this module seems great. I recently wrote a bash deployment script which I've been using but yours is much more extensive with all the migration stuff. Really cool.
I'm keen to give it a go but am a bit put off by having to have the site in a public subfolder as this means I can't just drop it in to my existing way of doing things. Just wondering why it's set up like that? And how possible (or not) would it be to make the subfolder an optional/configurable option?
The text was updated successfully, but these errors were encountered: