Coder Social home page Coder Social logo

octopush's Introduction

Octopush

Unit tests: Build Status

Acceptance tests: Build Status

Octopush is an application to manage deployment requests executed by Jenkins.

You can check out our running demo here and play arround with its Jenkins

Installation

Octopush is built on PHP and MySQL. Its PHP dependencies are managed with composer but there are some components that should be installed manually:

  • PHP 5.3
  • php5-mysql
  • MySQL
  • HttpRequest PHP Library (pecl_http)
  • phpunit

Quickstart

After intalling the base components mentioned above, you can follow the steps below to get your Octopush instance running:

  • Clone repo
  • Get the composer installer by executing: curl -s https://getcomposer.org/installer | php
  • Install dependencies: php composer.phar install
  • Create database using the script /sqls/schema.sql: mysql < schema.sql
  • Adjust dabatase and RM Jenkins settings in src/config
  • Run tests by executing phpunit
  • Adjust Apache configuration based on the snippet below
  • Adjust hosts file to add octopush.com entry
  • Create log file:
      mkdir src/logs
      touch src/logs/octopush.log
      chmod 777 src/logs/octopush.log
      
  • Browse the application at demo.octopush.com

Apache configuration

<VirtualHost *:80>
    ServerName  octopush.com
    ServerAlias demo.octopush.com

    DocumentRoot "/var/www/octopush/"

    <Directory "/var/www/octopush">
        Options -MultiViews
    AllowOverride None
        RewriteEngine On
        #RewriteBase /path/to/app
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^ index.php [L]
    </Directory>

    ErrorLog            /var/log/octopush/error_log
    CustomLog           /var/log/octopush/access_log combined
</VirtualHost>

Octopush API

In the folder sample_scripts you can find some scripts that will show you how to interact with Octopush API.

More Doc

http://olx-inc.github.io/octopush

octopush's People

Contributors

diego-garber avatar nahuel-rosso-olx avatar paulaviglesias avatar roberto-braile-olx avatar nicopaez avatar juan-sanzone-olx avatar lvidarte avatar pablofmorales avatar mariana-casasco-olx avatar

Watchers

James Cloos avatar  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.