Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 libraries
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 build.js
Octocat-spinner-32 package.json
README.md

dotcloud.js

Javascript gateway library to powerful cloud services. Meant to be used in conjuction with dotcloudjs-server.
For more information, head over to http://js.dotcloud.com

Building your own

The following line builds the client files in the build/ directory, using the variables in stack_config.json to configure the stack, and those in require_config.json to configure require.

node build.js build/ -s stack_config.json -f require_config.json

Sample stack_config file:

{
    "stackid": "my_stack",
    "host": "", 
    "submodules": [
        "sync",
        "db",
        "twitter"
    ]
}

Sample require_config file:

{
    "paths": {
        "jquery": "https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min",
        "dotcloud": "/dotcloud",
        "jq-cookie": "/jq-cookie",
        "config": "/config",
        "db": "/db",
        "sync": "/sync",
        "twitter": "/twitter",
        "stack.io": "/stack.io/stack.io"
    }
}

Optimize/minify

More information soon.

Something went wrong with that request. Please try again.