GithubHelp home page GithubHelp logo

doytsujin / strano Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joelmoss/strano

0.0 1.0 0.0 822 KB

Capistrano and Github sittin' in a tree...

Home Page: http://developwithstyle.com

License: MIT License

Ruby 65.39% CoffeeScript 4.75% JavaScript 14.59% CSS 15.22% Shell 0.05%

strano's Introduction

Strano Build Status

The Github backed Capistrano deployment management UI.

Strano allows you to run any capistrano task via a clean and simple web interface. Simply create a project from any of your Github repositories, and Strano will use the Capistrano configuration within the repository itself. Which means you don't have to set up Capistrano twice, and you can still run capistrano tasks from the command line without fear of different configurations being used, causing conflicted deploys.

All tasks are recorded, so you can look back and see a full history of who did what and when. I also plan on creating a Capistrano plugin, that will record all command line task activity with Strano. Which means your task history will also include the tasks that you ran on the command line.

Strano is in production use at ShermansTravel, but is still in active development. So I need your help to improve and ensure the code is top quality. So I encourage any and all pull requests. Fork away!

Task History

Installation

Strano is simply a Rails app with a Sidekiq backend for processing background jobs. Clone the repo from Github and run:

script/bootstrap

Then start the app:

bundle exec rails s

NOTE Strano cannot be run on Heroku, as the project repositories have to cloned to a local directory in your app at vendors/repos.

Configuration

Strano requires that you define only three configuration variables. The rest are optional, but can be overridden. You can either create a config/strano.yml configuration file and define them in there, or you can define them in the ENV variable. See config/strano.example.yml for all possible configuration variables.

The following are required and should be defined before running Strano.

  • Github Key and Secret

    Create a Github application and copy the generated key and secret to: github_key and github_secret.

  • Public SSH key

    In order to clone repositories from Github, it requires a public SSH key be defined in public_ssh_key.

Background Processing

Background processing of tasks and repo management is taken care of by the excellent Sidekiq. Run the queue like this:

bundle exec sidekiq

You can then monitor your queue at http://YOUR-STRANO-APP/sidekiq. Check out the Sidekiq Wiki for assistance on Sidekiq and its options.

License

Strano is released under the MIT license:

Contributing

Read the [Contributing][cb] wiki page first.

Once you've made your great commits:

  1. [Fork][1] Strano
  2. Create a topic branch - git checkout -b my_branch
  3. Push to your branch - git push origin my_branch
  4. Create a Pull Request from your branch
  5. That's it!

strano's People

Contributors

cedriclombardot avatar dleavitt avatar joelmoss avatar yevgenko avatar

Watchers

 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.