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

dce-config.js #4

Open
mikeumus opened this issue Sep 29, 2013 · 0 comments
Open

dce-config.js #4

mikeumus opened this issue Sep 29, 2013 · 0 comments

Comments

@mikeumus
Copy link

So dce-config.js in theory gets reset every time dce is update as postinstall overwrites the previously defined collections/settings in dce-config.js.

This is mostly just an issue of being a noob, but how might we at least start off dce-config.js' collections definition by pulling collections from docpad.coffee, something along these lines (commented out portion here on line 15, docpad.collections...):
https://github.com/MassDistributionMedia/docpad-plugin-dce/blob/master/dce-config.js#L15

I know we're using dce-config.js to set auth and collections but with the power of docpad.collections pulling collections from docpad.coffee, maybe we can make the dce-config.js even simpler by omitting the collections definition portion.

(Using the docpad downloader plugin to install the basicauth plugin to /node_modules may make more sense than baking basicauth into dce also following the philosophy to keep things as modular as possible: https://github.com/docpad/docpad-plugin-downloader )

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

No branches or pull requests

1 participant