Git Product home page Git Product logo

blockdiag_interactive_shell's Introduction

  • Works like blockdiag web editor

  • Simple WSGI Apps (using Flask)

  • Hosted on Google Appengine

  • Limitations:

    • All diagram sources are saved as URL parameter, not any databases
    • Could not render large diagram (it raises URL length overflow)

Author: @tk0miya <i.tkomiya at gmail.com>

How to run locally (for debugging)

$ git clone https://github.com/blockdiag/blockdiag_interactive_shell
$ cd blockdiag_interactive_shell
$ python bootstrap.py
$ bin/buildout
$ bin/dev_appserver app

And then, access http://localhost:8080/

blockdiag_interactive_shell's People

Contributors

enbug avatar knzm avatar nudin avatar shimizukawa avatar techtonik avatar tk0miya avatar yuitowest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

blockdiag_interactive_shell's Issues

bin/buildout

When I do bin/buildout, these libraries are not installed for some reason. I am not sure why

app_lib: Library not installed: missing egg info for '/Library/Python/2.7/site-packages/funcparserlib-0.3.6-py2.7.egg'.
app_lib: Library not installed: missing egg info for '/Users/ehu/blockdiag_interactive_shell/develop-eggs/setuptools-18.0.1-py2.7.egg'.
app_lib: Library not installed: missing egg info for '/Library/Python/2.7/site-packages/webcolors-1.5-py2.7.egg'.
app_lib: Library not installed: missing egg info for '/Library/Python/2.7/site-packages/Pillow-2.8.2-py2.7-macosx-10.10-intel.egg'.


Gallery

A place to showcase the real world usage of diagrams. Like:

Fedora Packaging Process -
http://interactive.blockdiag.com/?compression=deflate&src=eJx1kDEOwjAMRXdOYWVPOABSh-5IiBukiRWFNE2UFgYQd8dpK1HArH5-31_u-mSC9drBYwcg5ABZm6AdDjqiANmAaLYjNWY04vBvt-Ro8TYVxP1WmnRR7k7arwdSjmSxp4pRFdVrVWSKzFZ79b2F8-m49OJDPjdh7fJWZx7pGUvIF6CErk5YaFIuLAjp4gk8X5vtaPM

Documenting Gratipocalypse (well, this is a bad example and needs more work)
gratipay/inside.gratipay.com#244 (comment)


buildout bootstrap is broken

#!python
> bin/buildout.exe
...
Got backports.shutil-get-terminal-size 1.0.0.
Getting distribution for 'pygments'.
While:
  Installing debug.
  Getting distribution for 'pygments'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.buildout-2.9.3-py2.7.egg\zc\buildout\buildout.py", line 2123, in main
    getattr(buildout, command)(args)
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.buildout-2.9.3-py2.7.egg\zc\buildout\buildout.py", line 796, in install
    installed_files = self[part]._call(recipe.install)
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.buildout-2.9.3-py2.7.egg\zc\buildout\buildout.py", line 1553, in _call
    return f()
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.recipe.egg-2.0.3-py2.7.egg\zc\recipe\egg\egg.py", line 126, in install
    reqs, ws = self.working_set()
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.recipe.egg-2.0.3-py2.7.egg\zc\recipe\egg\egg.py", line 84, in working_set
    allow_hosts=self.allow_hosts)
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.buildout-2.9.3-py2.7.egg\zc\buildout\easy_install.py", line 913, in install
    return installer.install(specs, working_set)
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.buildout-2.9.3-py2.7.egg\zc\buildout\easy_install.py", line 714, in install
    for dist in self._get_dist(req, ws):
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.buildout-2.9.3-py2.7.egg\zc\buildout\easy_install.py", line 563, in _get_dist
    dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
  File "e:\blockdiag_interactive_shell\develop-eggs\zc.buildout-2.9.3-py2.7.egg\zc\buildout\easy_install.py", line 1730, in _move_to_eggs_dir_and_compile
    assert newdist is not None  # newloc above is missing our dist?!
AssertionError


How to use

I tried to follow the How To Use instructions, but I am getting an error when I try to execute "python bootstrap.py". The error I get is "RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need." What can I do?

Thank you


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.