Skip to content

dce-config.js #4

Description

@mikeumus

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 )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions