JIAZHEN / releasehub

Deliver codes faster and easier

Home Page:https://releasehub.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReleaseHub

ReleaseHub as the deploy mechanism, a deployment tool to release codes and make it easy to the team.

Introduction

It's especially essential for large teams of developers and designers who work together to build and deploy GitHub repos. Inspired by Shipit, ReleaseHub aims to be a system that will let us release the code more efficient to different environments.

Features

  • Github integration
  • Slack integration
  • Dashboard showing environment status
  • Operational history
  • Github Markdown Support

This app is assuming that your team is using github as the source control and slack for internal team communication.

This is the demo - ReleaseHub

Read the wiki pages for more details

Getting started

Clone the application

$ git clone git@github.com:JIAZHEN/releasehub.git

Configurate the database. By default it's using MySQL database. Therefore need to make sure MySQL is installed and the database credential is correct. You can of course change to other database.

Install gems

$ cd releasehub
$ bundle install

Setup github authentication

Create config/development.env file with the following variables

    # github credentials
    export GITHUB_CLIENT_ID=
    export GITHUB_CLIENT_SECRET=
    export GITHUB_ACCESS_TOKEN=
    export ORGANISATION=

    # slack credentials
    export SLACK_TOKEN=

    # RH configurations
    export ADMIN_MEMBERS=
    export DEFAULT_NOTIFY_IDS=
    export DEFAULT_CHANNEL=

    # Pusher credentials
    export PUSHER_APP_ID =
    export PUSHER_KEY =
    export PUSHER_SECRET =
    export PUSHER_CLUSTER =

Bootstrap the configuration

$ rake bootstrap

Populate the database

$ rake db:initialise

This task will do the following:

  • db:drop Drop the database if exists.
  • db:create Create the database.
  • db:migrate Build the database.
  • db:populate Insert default environments and statuses.
  • db:github_repo Pull all the repositories from the organisation and insert into repositories table.

Start the app locally

$ rails s

Visit http://localhost:3000

Licensing and Attribution

ReleaseHub is released under the MIT license as detailed in the LICENSE file that should be distributed with this library; the source code is freely available.

ReleaseHub was developed by Jiazhen Xie while employed by Venntro Media Group. Venntro Media Group have kindly agreed to the extraction and release of this software under the license terms above.

About

Deliver codes faster and easier

https://releasehub.herokuapp.com/

License:MIT License


Languages

Language:Ruby 59.5%Language:HTML 31.2%Language:CSS 6.3%Language:CoffeeScript 2.2%Language:JavaScript 0.7%