Coder Social home page Coder Social logo

bigdoods / jenca-gui Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 1.0 1.99 MB

GUI service for Jenca Cloud. Please see the trello board for work. If you need to be added to the team and board, please request: https://trello.com/b/clWQd0u9/jenca-cloud-core License: MIT

Home Page: https://www.jenca.org

License: MIT License

JavaScript 29.51% Makefile 0.09% HTML 0.07% CSS 70.33%

jenca-gui's Introduction

jenca-gui

The front end GUI for jenca-cloud

install

You need an environment with Docker and make installed

NOTE: if you want to run the build locally (i.e. outside of Docker) - you need the latest node.js 5.2.0.

An easy way to do this (on Linux at least) is to use nvm

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
$ nvm install 5.4.0
$ nvm use 5.4.0

build

First build the images then run make build - the code will be output into /dist (which is .gitignored)

$ make images
$ make build

test

The makefile will run the tests:

$ make test

preview

This command will serve a dev version of the gui on port 80 of the Vagrant VM:

$ make start

local development

If you want to have file watchers active for automatic rebuild - you need to run the build locally:

$ npm install
$ npm run build
$ npm run watch
$ npm test

state shape

The following is an example of the state tree we pass to redux:

var state = {
  
  projects:{
    loaded: '{boolean,notnull}',
    loading: '{boolean,notnull}',
    error: '{string}',
    data: '{array}
  },

  user:{
    loaded: '{boolean,notnull}',
    loading: '{boolean,notnull}',
    error: '{string}',
    data: '{object}
  }
}

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.