Giter Club home page Giter Club logo

omsclient's Introduction

应用原型WebGME-DSS

WebGME Dynamic Systems Studio is a web-based collaborative framework for composing and simulating cyber-physical systems expressed as Modelica models. The framework is built on top WebGME that provides a git-like centralized model storage where each change is efficiently stored as commit inside a mongodb database.

OpenModelica.

使用 docker-compose 启动应用程序

克隆仓库:

git clone https://github.com/webgme/webgme-dss.git

构建镜像并启动容器:

docker-compose up -d

开发者(主 前端)

环境依赖

nodejs v14.21.3 npm v6.14.17

构建并启动应用部分功能

克隆仓库:

git clone https://github.com/webgme/webgme-dss.git

接下来安装 node_modules(在 package.json中定义为依赖项).

npm install

构建前端服务

npm run webpack

在默认端口(27017)本地启动 mongod,默认情况下,模型将放在 multi 中,可以在 ./config/config.default.js中进行配置。

windows (example)

"C:\Program Files\<mongodb>\bin\mongod" --dbpath "C:\dirToStoreFiles"

linux/macOS

mongodb --dbpath <dirToStoreFiles>

运行mongodb后启动server

npm start

(默认为 localhost:8888)

Creating the Modelica Seed

  1. Follow the instructions in /scripts/py_modelica_exporter/README.md to generate components.json
  2. From src/common/ run node preprocessComponents.js (it consumes components.json from step one)
    • If the PortMapping does not exist - the ModelicaBaseSeed and metadata.json need to be updated
  3. Create a project from the ModelicaBaseSeed name it e.g. SeedProject
  4. From root of repo run: node node_modules\webgme-engine\src\bin\run_plugin.js SeedCreator SeedProject

omsclient's People

Watchers

 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.