Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marioidival/multipserve

Multi 'servers' application in single command - Pyramid
https://github.com/marioidival/multipserve

Last synced: about 2 months ago
JSON representation

Multi 'servers' application in single command - Pyramid

Awesome Lists containing this project

README

        

[![Stories in Ready](https://badge.waffle.io/marioidival/multipserve.png?label=ready&title=Ready)](https://waffle.io/marioidival/multipserve)
Multi Pserve
=
[![Build Status](https://travis-ci.org/marioidival/multipserve.svg?branch=master)](https://travis-ci.org/marioidival/multipserve)
Little script for you use in many pservers Pyramid

##How to
Install

pip install multipserve

First, you can use the python script in your root directory for start servers

mpserve --apps app1 app2 app3 app4

_app's are directory of applications_

After, multipserve creates pid and log file with name of each application

app1.pid app1.log

For killing, you can use this:

mpserve (-k|--kill) app1 app2 app3

If app killed successfully

kill app1 with pid 41235

##To do
Multi Pserve works but not how I think ... I want it to has a web page or even at the terminal(which I think unlikely/not functional) show the logs of active servers.

Look [issues](https://github.com/marioidival/multipserve/issues) for more details.

1. All application now are loaded in --reload mode
2. _multipserve_ creates a .log and a .pid files for each application
3. _multipserve_ now works with arguments
--apps or --kill