A friendly - but powerful - provisioning and monitoring tool for DevOps tool chains and application infrastructure.
- Install nodejs version 4.4.3LTS.
- Install sails. Do not run the
sails new...
command. - Install ruby.
- Clone this repo via
git clone https://github.com/sheaphillips/stackbutton.git
- Add the following to config/local.js
module.exports.url = {
hooks: 'http://your-url-here.com'
};
- 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:
- Ensure you have the mongo sails adapter by running
npm install
- Create a file config/local.js. Do not add this to git
- 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
};
- Replace 'blah' in the block above with a value appropriate for your database.
Please see our Contributing Guide.
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.
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.