UNPKG

1.71 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[![Code Climate](https://codeclimate.com/github/octoblu/nanocyte-flow-deploy-service/badges/gpa.svg)](https://codeclimate.com/github/octoblu/nanocyte-flow-deploy-service)
6[![Test Coverage](https://codeclimate.com/github/octoblu/nanocyte-flow-deploy-service/badges/coverage.svg)](https://codeclimate.com/github/octoblu/nanocyte-flow-deploy-service)
7[![npm version](https://badge.fury.io/js/nanocyte-flow-deploy-service.svg)](http://badge.fury.io/js/nanocyte-flow-deploy-service)
8[![Gitter](https://badges.gitter.im/octoblu/help.svg)](https://gitter.im/octoblu/help)
9
10## How to run
11> Also involves manual changes and running nanocyte-engine-simple
12
131. `cd` to `nanocyte-engine-simple` dir and run `env PORT="5050" npm start`
141. 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`
151. Update `deploy-flow.sh` w/ your credentials from [Octoblu](https://app.octoblu.com)
161. 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`
171. After running `deply-flow.sh`, copy the _Instance UUID_ from the response (_you should see: /flows/{flowUUID}/instances/{instanceUUID}_)
181. Paste (replace) the instance UUID into nanocyte engine's `click-trigger.sh` - `INSTANCE_UUID`
191. `./click-trigger.sh`
201. Verify in the designer that the flow was deployed