2017 © Pedro Peláez
 

project foreman

A worker manager with a priority process queue.

image

naroga/foreman

A worker manager with a priority process queue.

  • Tuesday, June 28, 2016
  • by naroga
  • Repository
  • 1 Watchers
  • 6 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Foreman

Naroga/Foreman is a worker manager. It allows you to spawn parallel processes without spawning too many processes at once (and thus consuming all your resources). It's an easy way to enqueue new processes, sit back and wait to be notified when the process is done., (*1)

It's easy to configure and has a built-in queue priority schema., (*2)

Project requisites

This project is now supported in all major OS': UNIX, OSX and Windows., (*3)

It requires PHP 5.5+ (or 7.0+), curl, json, and xml extensions., (*4)

See the Symfony Requirements for more specific and in-depth requirements., (*5)

You can check if your system is ready to use by running php app/check.php., (*6)

Installation

Use Composer to install this project and all its dependencies:, (*7)

composer create-project naroga/foreman

The installation wizard will ask you for a few parameters, such as a hostname and a port for the daemon service. You can change these, but if you wish, you can just press ENTER at each request to use the default configuration, which should run just fine., (*8)

Configuration

1. Setting up the servers, (*9)

There are two servers in this project that should be running at all times, (*10)

1.1. The Daemon Service, (*11)

The demon is started from the command line, and if you installed this application using composer (see the topic above), it should be good to go. Just check if your firewall isn't blocking connections in the specified port (defaults to 3440). If you wish to make changes to the host/port, you should edit app/config/parameters.yml., (*12)

1.2. The http server, (*13)

The http server runs like you would expect from a PHP project. Just set up a virtual host pointing to the /web/ folder. If you wish to troubleshoot or to get more information on setting up the virtual host, you should refer to the Symfony WebServer configuration documentation., (*14)

2. Additional configuration, (*15)

Naroga/Foreman comes preconfigured, so you can skip this section. If you wish to tweak the configuration to improve responsiveness, resource usage or to change the default behaviour, proceed to the configuration reference., (*16)

Usage

To get started on using this project, proceed to the documentation., (*17)

License

This project is released under the MIT License. For more information, see the LICENSE file., (*18)

The Versions