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](##Usage)
2. [Installation](###Installation)
3. [Example](###Example)
4. [Workflow](docs/workflow.md)
## Usage
### Installation
```bash
pip install modo (not working yet)
```
```bash
git clone gogs@git.heavycloud.de:unseen-university/modo.git
cd modo; virtualenv venv --python=python3
. venv/bin/activate
python setup.py install
```
### Example
```python
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](docs/workflow.md)
modo is a framework for building bootstrap images
for bootstrapping immutable machines by running docker containers
# Table of Contents
1. [Usage](##Usage)
2. [Installation](###Installation)
3. [Example](###Example)
4. [Workflow](docs/workflow.md)
## Usage
### Installation
```bash
pip install modo (not working yet)
```
```bash
git clone gogs@git.heavycloud.de:unseen-university/modo.git
cd modo; virtualenv venv --python=python3
. venv/bin/activate
python setup.py install
```
### Example
```python
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](docs/workflow.md)
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
modo-0.0.1.tar.gz
(4.5 kB
view hashes)