Code Monkey home page Code Monkey logo

drakonhub's Introduction

DrakonHub

The source code for DrakonHub.com

DrakonHub server runs on tarantool 1.7 and requires Linux.

DrakonHub is written in DRAKON-JavaScript and DRAKON-Lua.

Use DRAKON Editor to open .drn files. Most of .js and .lua files are generated from the respective .drn files.

Tcl 8.6 and Java are needed to build DrakonHub.

License

PUBLIC DOMAIN

drakonhub's People

Contributors

stepan-mitkin avatar

Stargazers

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

Watchers

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

drakonhub's Issues

Import diagram(s) from exported JSON?

While it's currently possible to save a diagram as JSON via the download button, as far as I can see there's currently no corresponding "import" or "restore" feature. Such an "import" feature would be a really useful feature to have for backup purposes!

This might also be interesting to allow in bulk, for example:

  • "Export all diagrams": Download a Zip file containing all your user's diagrams as JSON files
  • "Import diagram(s)": Allow uploading either an individual JSON file to restore a single diagram, or uploading a Zip file as described above to restore several diagrams at once.

Export to DRN or other languages?

Love the tool! Is is possible to export a diagram so that it can be opened by the Drakon desktop tool?

If not, can I export my diagrams to JavaScript?

Thanks!

Установка DrakonHub на Локальный сервер

Степан, добрый день.

Очень нужна ваша помощь, в связи закрытием проекта.
У нас на текущий момент достаточно много процессов регламентировано через Drakon и не хочется потерять все эти наработки.

В связи с этим пытаемся установить DrakonHub на Локальный сервер, но у нас не выходит.
Пытались связаться с Вами, через корпоративную почту, но по каким-то причинам не получили никакого ответа.
Поэтому пишу сюда.

Лог ошибки во вложении.
Текст первого письма ниже:

Добрый день

Пытаюсь поставить DrakonHub на Ubuntu версии

smk@DrakonSMK:~$ lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 20.04.2 LTS

Release: 20.04

Codename: focal

После выполнения

Enable the instance

cd /etc/tarantool/instances.enabled

sudo ln -s ../instances.available/onprem.lua

Выдается ошибка:

smk@DrakonSMK:~$ sudo cp /dewt/app/onprem.lua /etc/tarantool/instances.available/

smk@DrakonSMK:~$ cd /etc/tarantool/instances.enabled

smk@DrakonSMK:/etc/tarantool/instances.enabled$ sudo ln -s ../instances.available/onprem.lua

ln: failed to create symbolic link './onprem.lua': File exists

Потом :
sudo tarantoolctl start onprem

Check status

sudo tarantoolctl status onprem

Выдается такое сообщение:

root@DrakonSMK:/etc/tarantool/instances.enabled# sudo tarantoolctl status onprem

Forwarding to 'systemctl status tarantool@onprem'

[email protected] - Tarantool Database Server

 Loaded: loaded (/lib/systemd/system/[email protected]; enabled-runtime; vendor preset: enabled)

 Active: failed (Result: exit-code) since Tue 2021-04-13 14:32:04 MSK; 33min ago

   Docs: man:tarantool(1)

Process: 811 ExecStart=/usr/bin/tarantoolctl start onprem (code=exited, status=1/FAILURE)

Main PID: 811 (code=exited, status=1/FAILURE)

 Status: "running"

апр 13 14:32:04 DrakonSMK systemd[1]: [email protected]: Scheduled restart job, restart counter >
апр 13 14:32:04 DrakonSMK systemd[1]: Stopped Tarantool Database Server.
апр 13 14:32:04 DrakonSMK systemd[1]: [email protected]: Start request repeated too quickly.
апр 13 14:32:04 DrakonSMK systemd[1]: [email protected]: Failed with result 'exit-code'.
апр 13 14:32:04 DrakonSMK systemd[1]: Failed to start Tarantool Database Server.

Лог файл: log.txt

Помогите пожалуйста с установкой DrakonHub.

Не бросайте нас пожалуйста и спасибо за DrakonHub;)

Adding new content to diagrams is failing on drakonhub

This is a critical bug that seems to just start happening recently.

It seems like you can add maybe one process box to a diagram and then adding more or copying and pasting causes error.

Steps:
Load diagram and try to add element
e.g. https://drakonhub.com/ide/doc/verylargeal/8

Expected Result:
Element is added to canvas
Actual Result:
Error message page is displayed
Something did not work somewhere

Choices
Reload Page
Back
Home

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.