mistral/tools/cookiecutter-mistral-custom
Eyal 0b8dd84b18 Add a cookiecutter template to generate custom stuff
* Custom actions and yaql expressions

Change-Id: I5843135fb8adbeb73d1e205cf81f4c60e8b5b306
2019-09-11 16:39:35 +03:00
..
{{cookiecutter.project_name}} Add a cookiecutter template to generate custom stuff 2019-09-11 16:39:35 +03:00
README.rst Add a cookiecutter template to generate custom stuff 2019-09-11 16:39:35 +03:00
cookiecutter.json Add a cookiecutter template to generate custom stuff 2019-09-11 16:39:35 +03:00
run_cookiecutter.sh Add a cookiecutter template to generate custom stuff 2019-09-11 16:39:35 +03:00
update_actions.sh Add a cookiecutter template to generate custom stuff 2019-09-11 16:39:35 +03:00

README.rst

cookiecutter-mistral-custom

A minimal [cookiecutter](https://github.com/audreyr/cookiecutter) template for Mistral custom actions, expressions

Usage

This will run the cookiecutter and will install it if needed

$ run_cookiecutter.sh
Install the python project when finish editing ([sudo] pip install [folder])
Run the script to update the actions in the database
NOTE: default configuration file is /etc/mistral/mistral.conf
$ update_actions.sh [/path/to/mistral/conf]

Explanation

The generated directory contains a minimal python project for mistral custom actions and expressions.

It also has the following:

  • LICENSE

    An Apache 2 license if you choose another license then update the setup.cfg file

  • README

    A basic README file

  • Testing

    Tox to manage test environments using pytest and flake8