Monoplane is a tiny tool designed to help you run multiple processes in your local development environment. Especially useful for monorepos.
Project description
Monoplane
Monoplane is a tiny tool designed to help you run multiple processes in your local development environment. It is like a very stripped down docker compose for local shell commands. Especially useful for monorepos. Obviously, not for production.
Using Monoplane
pip install monoplane
Create a monoplane.yml
file in your project root:
color_stderr: "[91m"
services:
- name: api
cwd: resources/api
command: skaffold dev
build: npm run generate
color: "[0;33m"
notes: http://localhost:30005
env:
- name: PORT
value: 30005
- name: console
cwd: resources/web_console
command: npm run dev
build: npm run build
color: "[0;36m"
notes: http://localhost:30001
Then run monoplane
or mp
in your project root. It will start all services in parallel.
Some useful commands (just press key while running):
r
- restart all servicess
- print status of all servicesb
- execute all build commandsc
- clear screen
Notes added in the config file will be printed when you press s
. Useful for adding links to your service endpoints to avoid remembering ports and typing them over and over again.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for monoplane-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab258b06e38e667477ce694fb7c7b412b556175331105aced04777505361aaf7 |
|
MD5 | 723fd7c135ada6a18fffce773b75f1c5 |
|
BLAKE2b-256 | 2fc4dec238b442bf6c7ff41b2112592905964727847cd0e4b560e95d2c777956 |