Skip to main content

A service manager for managing multiple services in a project

Project description

runnem

A service manager for managing multiple services in a project. runnem helps you manage and run multiple services in your project with a simple CLI interface.

Installation

pip install runnem

Usage

Initialize a Project

runnem init myproject

This will:

  1. Create a new project configuration in ~/.runnem/myproject.yaml
  2. Create a .runnem file in the current directory with the project name

Manage Services

# Start all services
runnem up all

# Start a specific service
runnem up api

# Stop all services
runnem down all

# Stop a specific service
runnem down api

# List running services
runnem list

# View service logs
runnem log api

Project Configuration

Each project has its own YAML configuration file stored in ~/.runnem/{project}.yaml. Here's an example configuration:

services:
  app:
    command: "cd ~/projects/myproject/app && npm run dev"
    port: 3000
    url: "http://localhost:3000"
  api:
    command: "cd ~/projects/myproject/api && python run.py"
    port: 8000
    url: "http://localhost:8000"

Auto-Detection

runnem automatically detects the project you're working on by looking for a .runnem file in the current directory or any parent directory. This means you can run runnem commands from anywhere inside your project.

License

MIT License

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

runnem-0.1.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runnem-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file runnem-0.1.0.tar.gz.

File metadata

  • Download URL: runnem-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for runnem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6a2107cd8e7bd2b5fc5fea78263ef63a56a23d8acded78f16d16a33a812e8822
MD5 86b2f933904cd649390eb7d25ed58cd4
BLAKE2b-256 30969abf1e4f18b3bbadc5698ef4a5e3abb86db04bf12741826f211fe5bb0e0b

See more details on using hashes here.

File details

Details for the file runnem-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: runnem-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for runnem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87a632b4578a05fcdaef312766e6013dc5f3f3fe5a5d08f4c1a7f3387a3e16c0
MD5 21c3255b0886181ca4c4822bbcdc8467
BLAKE2b-256 e6d6a9a8bfb41e87595afa652e5e9c94f96d0c5c53dc9aac80dae55e64989b45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page