generator-plait

Python Gunicorn Thrift Microservices. Stand up a thrift microservice in python as a gunicorn app.

Usage no npm install needed!

<script type="module">
  import generatorPlait from 'https://cdn.skypack.dev/generator-plait';
</script>

README

Yeoman Generator for Python Microservices

Yeoman generator

Getting Started

What is plait (Python Living As Interlocking ThriftServices)?

Trick question. It's not a thing. It's part of this guy:

Basically, yeoman wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create. Yeoman and Gurt are good friends and they work together to build out your application.

Installation

To get started first install Yeoman globally:

npm install -g yo

Then get Plait by cloning this repo:

git clone git@github.com:rewardStyle/generator-plait.git

cd into the directory and install dependencies:

npm install

then we need to link it so we can run it as a global package:

npm link

Go up a directory (or somewhere else) and make a new directory:

mkdir my-test-app && cd $_

Finally, initiate the generator, and this will make you some boilerplate for a new python microservice

yo plait

To begin hacking on your new microservice, be sure to follow the instructions in the generated README.md