Giter Club home page Giter Club logo

spiffexample's Introduction

SpiffExample

This is the documentation and example repository for the SpiffWorkflow BPMN workflow engine. Below is a brief outline on how to get started using this documentation - which in itself is designed as a tool for getting started with Spiffworkflow.

How to use and extend

To interact with and extend this documentation you need:

Note

As of writing, this documentation has not been tried on Windows

  1. this repository
  2. a supported version of Python 3 (as of the writing, that means >= 3.5) - Python 2 is not supported
  3. a virtual environment set up

Set up repository

Just use git clone to clone this repository

git clone https://github.com/sartography/SpiffExample.git

Set up virtual environment

Python now includes virtualenv in the standard library.

cd SpiffExample
python3 -m venv venv

This will setup a Python3 virtual environment.

Enable the virualenv we just created.

my-prompt$ source ./venv/bin/activate
(venv) my-prompt$

Install Requirements

Now that we have the Python virtual environment set up, let's get our requirements installed.

pip3 install -r requirements.txt

This should get us all of the tools we will need to run the examples - Any of the .py files should be able to be run in the SpiffExample main directory

(venv) my-prompt$ python ExampleCode.py
Where are you going? (Options: cabin, hotel, camping)? hotel
['location']
Do you like spam? yes
['spam']
{'location': 'hotel', 'spam': 'yes'}
{'location': 'hotel', 'spam': 'yes'}

spiffexample's People

Contributors

danfunk avatar kennazkassa avatar w4kpm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.