Advanced Getting started
Directed Acyclic Graphs
Scriptflow is based on the concept of Directed Acyclic Graphs (DAG). What this means is that the graph always "flows" in one direction (in scriptflow's case - from input to output). This makes it much easier to understand what is going on in a graph as well as view other graphs and understand what they are doing. Scriptflow does not allow for loops in its graphs - this is why it is extremely easy to reason about the flow of your data through a scriptflow graph.
Setting up the Command Line Proxy
Download the appropriate CLI for your system and run by using the following command:
By default the cli runs its proxy on port 12321, you can change this to a different port by using the '-p' option.
scriptflow-cli -p 9081 -w
The proxy uses websockets in order to communicate with clients. This means that if you want to use a load balancer (like Nginx, HAProxy, or Apache) in front of your proxy, you will need to properly configure it to allow websockets (and also allow sticky sessions when load balancing).
For most common usecases, you should setup a single proxy for your team on an internal server. For development, or for individual usecases, you can setup the proxy locally on your own machine.
Read this for more information on system administration with the scriptflow.io proxy.