Public | Automated Build

Last pushed: a year ago
Short Description
A friendly provisioning tool for DevOps tool chains.
Full Description

stackbutton

A friendly - but powerful - provisioning and monitoring tool for DevOps tool chains and application infrastructure.

Getting Started

  1. Install nodejs version 4.4.3LTS.
  2. Install sails. Do not run the sails new... command.
  3. Install ruby.
  4. Clone this repo via git clone https://github.com/sheaphillips/stackbutton.git
  5. Add the following to config/local.js

    module.exports.url = {
    hooks: 'http://your-url-here.com'
    };
    
  6. From the command line, in the location you cloned the repo into:

    npm install grunt bower -g
    npm install
    gem install sass
    sails lift
    

    The above command should run the app and you will be able to view it at http://localhost:1337 in your favourite browser.

    To enable mongo:

  7. Ensure you have the mongo sails adapter by running npm install

  8. Create a file config/local.js. Do not add this to git
  9. Add the following block to your new local.js file:

    module.exports.connections = {
    
    stackbuttonMongo: {
     host: 'blah', // defaults to `localhost` if omitted
     port: blah, // defaults to 27017 if omitted
     user: 'blah', // or omit if not relevant
     password: 'blah', // or omit if not relevant
     database: 'blah', // or omit if not relevant
     adapter: 'sails-mongo'
    }
    };
    
    module.exports.models = {
    
    /***************************************************************************
    *                                                                          *
    * Your app's default connection. i.e. the name of one of your app's        *
    * connections (see `config/connections.js`)                                *
    *                                                                          *
    ***************************************************************************/
    connection: 'stackbuttonMongo'
    };
    
    /* increase timeout for mongo*/
    module.exports.orm = {
    _hookTimeout: 60000 // I used 60 seconds
    };module.exports.permissions = {
    _hookTimeout: 60000 // I used 60 seconds
    };module.exports.pubsub = {
    _hookTimeout: 60000 // I used 60 seconds
    };
    
  10. Replace 'blah' in the block above with a value appropriate for your database.

Contributing

Please see our Contributing Guide.

Trademarks

The names StackButton, Stacky, and the StackButton logo are trademarks of Cloud Compass, Inc. and may only be used as described in section 6 of the License.

License

Copyright 2016, Cloud Compass Computing, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Docker Pull Command
Owner
cloudcompass
Source Repository