Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Make deployer handle App Builder apps easily #63

Closed
dmcassel opened this issue Dec 3, 2012 · 1 comment
Closed

Make deployer handle App Builder apps easily #63

dmcassel opened this issue Dec 3, 2012 · 1 comment
Assignees

Comments

@dmcassel
Copy link
Collaborator

dmcassel commented Dec 3, 2012

Right now to use the deployer for an App Builder app, I have to do the following:

  • Set the url-rewriter to /MarkLogic/rest-api/rewriter.xqy (build.properties)
  • Set the error-handler to /MarkLogic/rest-api/error-handler.xqy (build.properties)
  • Set rewrite-resolves-globally to true (ml-config.xml)
  • Add a deployment step to put /marklogic.rest* of the modules database in the http://marklogic.com/extension/plugin collection (app_specific.rb)

Ideally, I could specify as an argument to "ml new" that I'm working with an App Builder/REST API app and it would set these things up for me, including handling the modules collection as part of deploy modules. If that argument is specified, it could also skip creating the default MVC code.

@dmcassel
Copy link
Collaborator Author

I checked in changes to the dev branch such that deploy modules adds marklogic.rest* stuff to the needed collection if you have a property "app-type=rest".

@ghost ghost assigned dmcassel Mar 15, 2013
dmcassel added a commit that referenced this issue Mar 18, 2013
dmcassel added a commit that referenced this issue Mar 18, 2013
dmcassel added a commit that referenced this issue Mar 19, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant