UNPKG

1.9 kBMarkdownView Raw
1# nanocyte-flow-deploy-service
2Flow Deploy Service
3
4[![Build Status](https://travis-ci.org/octoblu/nanocyte-flow-deploy-service.svg?branch=master)](https://travis-ci.org/octoblu/nanocyte-flow-deploy-service)
5[![Test Coverage](https://codecov.io/gh/octoblu/nanocyte-flow-deploy-service/branch/master/graph/badge.svg)](https://codecov.io/gh/octoblu/nanocyte-flow-deploy-service)
6[![Dependency status](http://img.shields.io/david/octoblu/nanocyte-flow-deploy-service.svg?style=flat)](https://david-dm.org/octoblu/nanocyte-flow-deploy-service)
7[![devDependency Status](http://img.shields.io/david/dev/octoblu/nanocyte-flow-deploy-service.svg?style=flat)](https://david-dm.org/octoblu/nanocyte-flow-deploy-service#info=devDependencies)
8[![Slack Status](http://community-slack.octoblu.com/badge.svg)](http://community-slack.octoblu.com)
9
10[![NPM](https://nodei.co/npm/nanocyte-flow-deploy-service.svg?style=flat)](https://npmjs.org/package/nanocyte-flow-deploy-service)
11
12
13## How to run
14> Also involves manual changes and running nanocyte-engine-simple
15
161. `cd` to `nanocyte-engine-simple` dir and run `env PORT="5050" npm start`
171. Open a new terminal tab/window and `cd` to [nanocyte-flow-deploy-service](https://github.com/octoblu/nanocyte-flow-deploy-service) dir and run `env PORT="5051" env OCTOBLU_URL="https://app.octoblu.com" npm start`
181. Update `deploy-flow.sh` w/ your credentials from [Octoblu](https://app.octoblu.com)
191. Open a new terminal tab/window and `cd` to [nanocyte-flow-deploy-service](https://github.com/octoblu/nanocyte-flow-deploy-service) dir and run `./deploy-flow.sh`
201. After running `deply-flow.sh`, copy the _Instance UUID_ from the response (_you should see: /flows/{flowUUID}/instances/{instanceUUID}_)
211. Paste (replace) the instance UUID into nanocyte engine's `click-trigger.sh` - `INSTANCE_UUID`
221. `./click-trigger.sh`
231. Verify in the designer that the flow was deployed