Skip to content

C3ICapstone/stackbutton

 
 

Repository files navigation

stackbutton

stacky

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

Getting Started Development

  1. Install nodejs
  2. Install sails
  3. Install ruby for using Sass.
  4. Clone the stackbutton repo to your local disk
  5. Optionally add the following to sails's local configuration for config/local.js
module.exports.url = {
  hooks: 'http://your-url-here.com'
};
  1. From the command line, in the location you cloned the repo into:
 npm install -g @angular/cli
 gem install sass
 cd ng2
 npm install
 ng serve

The above command should run the NG Live Development Server on http://localhost:4200

To enable mongo:

  1. Ensure you have the mongo sails adapter by running npm install in the stackbutton directory
  2. Create a file config/local.js. Do not add this to git
  3. 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
};
  1. 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.

About

A friendly provisioning tool for DevOps tool chains.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 42.1%
  • HTML 34.1%
  • TypeScript 21.8%
  • CSS 1.7%
  • Python 0.3%