create-vens-dash

2.0.0 • Public • Published

Create Vensim Dashboard

This app creates an app that serves a basic dashboard for a Vensim System Dynamics model, that can be consumed via browser.

How to use

Decide a name for your app (like my-sd-model-dash) and run the following command to create a new subdirectory containg your app.

npx create-vens-dash my-dash
cd my-dash
npm install
npm run init-start "./path/to/sd/model"

Requirements

For the npm run init-start command to work, you need to compile the Vensim model into WebAssembly first. This functionality is available from version 8.1 of Vensim.

Deployment

Once you have customized your dashboard, you are ready to deploy your dash directory. A simple example of how to deploy is Heroku. Install git and heroku cli (if not done already), login and run the following from your dash directory:

git init
git add .
git commit -m "first commit"
heroku create
git push heroku master

Package Sidebar

Install

npm i create-vens-dash

Weekly Downloads

2

Version

2.0.0

License

ISC

Unpacked Size

4.1 MB

Total Files

145

Last publish

Collaborators

  • valcapp