Script for using with multiples applications Pyramid
Project description
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 for more details.
All application now are loaded in –reload mode
multipserve creates a .log and a .pid files for each application
multipserve now works with arguments –apps or –kill
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file multipserve-1.0.6.tar.gz
.
File metadata
- Download URL: multipserve-1.0.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1752c7147f4992b452d62ba884147c07414d9554f8225c2d4cf390719bbd72ca |
|
MD5 | b66c67911e88b4ff9cd9c20ea8d47611 |
|
BLAKE2b-256 | 828259f886a770dd7db1ae69539eeb8fba045615ab98c5b6a3513d0c9af90c32 |