Coder Social home page Coder Social logo

clonardo / visflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yubowenok/visflow

0.0 2.0 0.0 8.08 MB

Web-based Dataflow Framework for Visual Data Exploration

Home Page: https://visflow.org

License: BSD 3-Clause "New" or "Revised" License

JavaScript 0.44% HTML 4.06% TypeScript 86.34% CSS 3.55% Vue 5.48% Shell 0.12%

visflow's Introduction

VisFlow - Web-Based Dataflow Framework for Visual Data Exploration

Build Status

This is the installation guide for building and deploying new VisFlow instance. For VisFlow usage, please see the documentation.

VisFlow uses yarn to build. Run yarn install first to install all node dependencies.

Development Web Client and Server

The VisFlow system has three essential components:

  • web client
  • server
  • mongoDB

Make sure mongod is running in the environment where VisFlow is running. See mongoDB to set up mongoDB.

The web client and server need to be built before deployment.

Env configuration

Before building production or running the development system, configure the execution environment in two .env files.

client/.env:

BASE_URL=/
TIME_ZONE=America/New_York

server/.env:

DATA_PATH=/data/visflow
MONGODB_URI=mongodb://localhost:27017/visflow
ALLOW_ORIGIN=http://localhost:8080;http://localhost:3000;https://visflow.org
SESSION_SECRET=123456
PORT=3000

DATA_PATH must be a directory writable by nodejs.

Development Web Client and Server

To run the web client and server in development:

yarn --cwd client start
yarn --cwd server start

By default, the dev client runs at port 8080 and the dev server runs at port 3000. In server/.env, the port of the client must be an allowed origin for the dev server to respond to dev client requests.

Production Web Client and Server

To build the production client and server:

yarn --cwd client build
yarn --cwd server build

The distribution files for the client are located at client/dist. The distribution files for the server are located at server/dist. You may also use yarn serve to run the server. The server must be run with NODE_ENV=production.

Documentation

To build the documentation:

yarn --cwd docs build

The distribution files for the documentation are located at docs/dist.

FlowSense Setup

Setting up FlowSense is currently not supported.

visflow's People

Contributors

yubowenok avatar

Watchers

James Cloos avatar Chris Lonardo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.