Skip to main content

Bootstrap Framework for immutable machines

Project description

Modo

modo is a framework for building bootstrap images for bootstrapping immutable machines by running docker containers

Table of Contents

  1. Usage
  2. Installation
  3. Example
  4. Workflow

Usage

Installation

pip install modo

for developing:

git clone git@bitbucket.org:mindcurv/modo.git
cd modo; virtualenv venv --python=python3
. venv/bin/activate
pip install -e .[dev]
python setup.py develop

Example

from modo import RoseCLI, SowRose, GrowRose

class SowExample(SowRose):

    def run(self):
       print(self.jinja_context)

class GrowExample(GrowRose):

    def run(self):
       print('@}->--')

cli = RoseCLI(SowExample, GrowExample)

if __name__ == '__main__':
    cli()

for detailed workflow click here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for modo, version 0.0.15
Filename, size File type Python version Upload date Hashes
Filename, size modo-0.0.15-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size modo-0.0.15.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page