No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
blob-local-storage
blob-resources/dashboard
bower_components
config
doc
dump/CyPhy
meta
mongodatabase
src
test
utils
vendor
.dockerignore
.editorconfig
.eslintrc
.gitignore
.travis.yml
Dockerfile
LICENSE
Readme.md
Visualizers.json
add_dashboard.cmd
add_dir_to_blob.js
app.js
bower.json
build.cmd
config.js
deploy_prep.sh
executor_worker_install.cmd
executor_worker_start.cmd
gulpfile.js
install_script.cmd
jenkins_docker_test_all.sh
launch_app.cmd
launch_database.cmd
mms.ico
munge_shrinkwrap.js
package.json
pre-commit
protractor_conf.js
test-conf.js

Readme.md

Metamorphosys-Web

The Metamorphosys tools are used for electronics design and analysis.

Development of the web interface is still in progress; we recommend accessing the live technology demo to take the prototype for a spin.

Live Technology Demo

Click here to launch the demo

Starting from a 1x2 Ara Module template, the technology demo allows you to easily add components to your design and automatically generate a printed circuit board (PCB), with automatic PCB component placement and signal routing.

Deploying from Scratch

If you want to get the web server running your own machine, follow the instructions below.

  1. Install nodejs
  2. Install mongodb if you want to use a local database (recommended for initial use)
  3. Clone this repository, and navigate to your local copy
  4. Recommended: update npm. On Windows, with an elevated command prompt ("Run as Administrator"): pushd C:\Program Files\nodejs & npm install npm@latest & popd
  5. Install gulp globally: npm install -g gulp@~3.8.7 (must be elevated on Windows)
  6. Install node-js dependencies with npm install
  7. run gulp compile-all
  8. In a separate process, start the MongoDB server with mongod --dbpath mongodatabase, and leave it running
  9. Preload the MongoDB by running mongorestore
  10. Start the server with node app.js or npm start
  11. (optional): To set up a worker (needed for running analysis), install or compile the metamorphosys-desktop tools, and then follow the README.md at /node_modules/webgme/src/server/middleware/executor/worker.
  12. Open the example project at http://localhost:8855/#/editor/Template_Module_1x2

(To access the original webgme interface, go to http://localhost:8855/extlib/node_modules/webgme/src/client/ )

Launching the Editor Interface

Create a new project by visiting http://localhost:8855/#/editor/Template_Module_1x2

Each project has a unique URL. Save that URL to return to the project later.

Running Tests

npm run test_all

Protractor Tests
  1. Start mms-webcyphy using the instructions above
  2. webdriver-manager start (and leave running in background)
  3. protractor protractor_conf.js