Git Product home page Git Product logo

stacktician's Introduction

Stacktician - CloudFormation web front-end for stackmate

stackmate reads existing CloudFormation templates and executes them on a CloudStack deployment Unlike CloudFormation, it does not (yet) run as a web application. Instead it runs everything on the client side.

Stacktician embeds stackmate to provide the web front-end using a Rails application

Follow:

Dependencies

Stacktician uses Bundler to setup and maintain its environment. Before running stackmate for the first time you need to install Bundler (gem install bundler) and then run:

$ bundle install

Getting started quickly

Using the source

  • Get the source files using git
$ git clone http://github.com/chiradeep/stacktician.git
$ cd stacktician
  • Make sure every dependency is resolved
$ bundle install
  • Create a seed of templates in the database
$ rake db:migrate
$ rake db:seed
  • You can run Stacktician in NOOP mode: in this case it will not try to create resources on CloudStack, but just update the database with success. Before you run the Rails server:
$ export DEMO_MODE=NOOP

Otherwise, the following environment variables need to be set (change to your environment's specifics)

CS_URL=http://localhost:8080/client/api
CS_ADMIN_APIKEY=6b4IAqDFqSfpBqap1GEhKS4U8PIOpxnoS0tuAX46jXAiE7hCBO-l2zKvWm-FuyTQUFddfR59oNqMSUbSCZgoQw
CS_ADMIN_SECKEY=WM9HIBLc59XYhr2kCAS94eCrGp789cSYwSys1pgEUuV2_rhFxej8vds-sd9eMu6RtxM7Kk0K0k9G8Rtl1oxl-A
CS_LOCAL="---\nservice_offerings:\n  m1.small: 1c8db272-f95a-406c-bce3-39192ce965fa\ntemplates:\n  ami-1b814f72: 3ea4563e-c7eb-11e2-b0ed-7f3baba63e45\nzoneid: b3409835-02b0-4d21-bba4-1f659402117e\n"

CS_LOCAL is a YAML string that provides the mappings from AWS entities to your CloudStack entities.

  • Heroku

There should be a demo app (NOOP mode) running at http://stacktician.herokuapp.com/ If you want to deploy to Heroku, you can use heroku config:set to set the environment variables.

  • Stacktician lets you self-create a login. Sign in and create a Cloudformation stack!

TODO

Feedback & bug reports

Feedback and bug reports are welcome on the mailing-list, or on the #cloudstack-dev IRC channel at Freenode.net.

License

(The MIT License)

Copyright (c) 2013 Chiradeep Vittal

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Thanks

stacktician's People

Contributors

chiradeep avatar amoghv avatar

Watchers

James Cloos avatar Christo De Lange avatar

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.