https://github.com/olx-inc/octopush
[DEPRECATED] Open Source Octopush project
https://github.com/olx-inc/octopush
classics deprecated
Last synced: 3 months ago
JSON representation
[DEPRECATED] Open Source Octopush project
- Host: GitHub
- URL: https://github.com/olx-inc/octopush
- Owner: olx-inc
- License: apache-2.0
- Created: 2014-03-12T12:28:27.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T22:08:33.000Z (about 2 years ago)
- Last Synced: 2024-04-25T23:53:50.228Z (about 2 years ago)
- Topics: classics, deprecated
- Language: PHP
- Size: 979 KB
- Stars: 22
- Watchers: 88
- Forks: 10
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# DEPRECATED [](http://unmaintained.tech/)
This repository is now deprecated and it will be available until 01.06.2021.
Octopush
========
Unit tests:
[](https://jenkins-dev.olxlatam.com/job/octopush_test_unit/)
Acceptance tests:
[](https://jenkins-dev.olxlatam.com/job/octopush_staging_test_acceptance/)
Octopush is an application to manage deployment requests executed by Jenkins.
Installation
------------
You can check the docker-environment folder and follow instructions on how to run it on Docker or Manually follow these instrucions:
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
ServerName octopush.com
ServerAlias demo.octopush.com
DocumentRoot "/var/www/octopush/"
Options -MultiViews
AllowOverride None
RewriteEngine On
#RewriteBase /path/to/app
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
ErrorLog /var/log/octopush/error_log
CustomLog /var/log/octopush/access_log combined
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
####