GithubHelp home page GithubHelp logo

adamnagel / webgme-cyphy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webgme/cyphy

0.0 3.0 0.0 2.63 MB

CyPhy customization of WebGME

License: Other

JavaScript 90.89% Shell 0.64% CSS 8.47%

webgme-cyphy's Introduction

WebGME-CyPhy

WebGME is a collaborative meta-modeling environment which allows multiple users to simulataneously create and edit models within a single project. It stores the model objects in a Mongo database. WebCyPhy utilizes WebGME, and uses a meta-model similar to that used in the META toolchain developed by ISIS at Vanderbilt University.

Starting from Scratch

  1. Install nodejs
  2. Install mongodb if you want to use a local database (recommended for initial use)
  3. Clone this webgme-cyphy repository, and change to that directory on your machine
  4. Install dependencies listed in package.json
  1. In a separate process, run launch_database.cmd to start a Mongo database
  • Or: edit the config.json file to point the server to an existing mongoip - the default Mongo IP is 127.0.0.1
  1. Start the WebGME server

For more details, consult the documentation.

2 ways to visualize models using WebCyPhy

Option A

This interface is under development. Visit localhost:8855/extlib/src/client/ to open the domain-specific WebCyPhy UI. This option will automatically import the meta model as you visit the page and creates the 'ADMEditor project'

Option B

Visit localhost:8855 to open the default WebGME editor

  • Click on the first icon in the toolbar Projects
  • Create new project from file
  • Name the project ADMEditor
  • Select the meta/ADMEditor_metaOnly.json file - you can browse and select the file or drag-and-drop it to the dialogue box

Notes

Database

  • The default database is CyPhy instead of multi (default webgme database)
  • On Windows "C:\Program Files\MongoDB 2.6 Standard\bin\mongod" --dbpath mongodatabase

Utils

  • Adding a full directory to the local blob: While models/objects are stored in the Mongo database,their associated resource files are stored on the WebGME server in the 'blob.' When importing a project, it is sometimes necessary to upload multiple resource files for each object in the project, and using node add_dir_to_blob.js samples\RollingWheel is the way to achieve this.

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.