GithubHelp home page GithubHelp logo

tfe / duostack-client Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 3.08 MB

The official command line client for the Duostack Ruby and Node.js hosting platform.

Home Page: http://duostack.com/

License: GNU General Public License v3.0

Shell 0.57% JavaScript 15.74% Ruby 83.69%

duostack-client's Introduction

Duostack Command Line Client

A command line client for the Duostack Ruby and Node.js hosting platform.

This project contains the client files themselves (under src/), along with the scripts and support files needed to build gem, npm, and tgz packages of the client.

Installation

Install as a gem or npm package:

gem install duostack

npm install duostack

Or just copy the contents of src/ to a location in your PATH, such as /usr/local/bin.

Usage

Consult duostack help after installing for client usage details, or go to http://docs.duostack.com/command-line-client-command-reference.

To build gem/npm/tgz packages of the client, run rake package. Packages will be written to packages/. To build previous versions, just check out the git tag for the version number of interest, and run the rake task.

Running Tests

The test suite is being continuously improved. Currently, the test suite depends on access to the Duostack API and a set of valid user credentials being present (either in ~/.duostack or provided as environment variables).

Real actions are taken on the platform during test execution. While no user data should be touched, it is recommended that you use a test account whenever running the test scripts. An easy way to do that is to provide DSUSER and DSPASS environment variables to the test script:

DSUSER=testuser DSPASS=testpass rake test

If those are not present, the cached credentials in ~/.duostack will be used (if present), and no tests of credentials syncing can be done.

To run the domain adding/removing test cases, a valid domain name must be provided as an environment variable:

DSDOMAIN=test.example.com rake test

During the test run, this domain will actually be added then removed from the generated test app, and in order to add it successfully, it must be set up properly (CNAME'd to proxy.duostack.com).

Contact

This project is maintained by Duostack, Inc. You can reach us on GitHub (https://github.com/duostack) or at [email protected].

License

Copyright © 2011 Duostack, Inc. http://duostack.com/.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.