1 | # nanocyte-flow-deploy-service
|
2 | Flow 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 |
|
13 | 1. `cd` to `nanocyte-engine-simple` dir and run `env PORT="5050" npm start`
|
14 | 1. 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`
|
15 | 1. Update `deploy-flow.sh` w/ your credentials from [Octoblu](https://app.octoblu.com)
|
16 | 1. 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`
|
17 | 1. After running `deply-flow.sh`, copy the _Instance UUID_ from the response (_you should see: /flows/{flowUUID}/instances/{instanceUUID}_)
|
18 | 1. Paste (replace) the instance UUID into nanocyte engine's `click-trigger.sh` - `INSTANCE_UUID`
|
19 | 1. `./click-trigger.sh`
|
20 | 1. Verify in the designer that the flow was deployed
|