Cloud Assistants lib for deploying apps in CF

npm install caf_deploy
6 downloads in the last week
10 downloads in the last month

CAF (Cloud Assistant Framework)

Co-design permanent, active, stateful, reliable cloud proxies with your web app.


CAF Extra Deploy

This repository contains a CAF extra lib to deploy applications in Cloud Foundry.



See the Turtles example application.

Configuration Example


   "plugs": [
        "module": "caf_deploy/plug",
        "name": "deploy_mux",
        "description": "Shared connection to a service that deploys apps in CF\n Properties: \n",
        "env": {
            "target" : "",
            "user" : "",
            "password" : "pleasechange",
            "map": null,
            "memory" : 64,
            "instances": 1,
            "services" :["redis"]

The properties define the vcap target, username, and password. They also specify how many instances should host you application, the maximum memory the can use, and the extra services that your application needs. Optionally, we can specify a new mapping url (e.g., where api is replaced by the application name (null is used as a placeholder for tools that configure this option).


"internal" : [
        "module": "caf_deploy/plug_ca",
        "name": "deploy_ca",
        "description": "Provides a  service  to deploy apps for this CA",
        "env" : {

 "proxies" : [
        "module": "caf_deploy/proxy",
        "name": "deploy",
        "description": "Access to a service to deploy CF apps",
        "env" : {

npm loves you