Skip to content
Snippets Groups Projects
Select Git revision
  • edf2cdc80babc2b475fd6e3079ece72d6449f2de
  • master default protected
  • v0.10.0
  • v0.10.0-rc2
  • v0.10.0-rc1
  • v0.9.0
  • v0.9.0-rc1
  • v0.8.0
  • v0.8.0-rc2
  • v0.8.0-rc1
  • v0.7.0
  • v0.7.0-rc2
  • v0.7.0-rc1
  • v0.6.1
  • v0.6.0
  • v0.6.0-rc2
  • v0.6.0-rc1
  • v0.5.0
  • v0.5.0-rc2
  • v0.5.0-rc1
  • v0.4.0
  • v0.4.0-rc2
22 results

NEWS

Blame
  • To find the state of this project's repository at the time of any of these versions, check out the tags.
    README.md 2.20 KiB

    Todo

    • frep
    • cut, copy, paste
    • three-axis rough and finish cuts
    • Cross-Origin Resource Sharing (CORS)
    • nested module graphs
    • ...

    To install and run mods locally

    You need to first install node.js.

    Install the http-server npm package. Including '-g' sets the installs the package gloabally, allowing you to use it as a command line tool:

    npm install http-server -g

    Clone the mods repository:

    git clone ssh://git@gitlab.cba.mit.edu:846/pub/mods.git

    Use the command line to navigate to the root of the mods repository:

    cd mods

    Start up a server:

    http-server

    Open a browser tab and go to 127.0.0.1:8080 which is the same as http://localhost:8080 to view the server that you just started.

    Depending on how to need to use mods you can start local servers located in mods/js, for example, if you start from the root of the mods repository:

    cd js

    node printserver.js

    Mods Connection Debugging

    set correct serial port permission (do this each time you reboot the machine): chmod a+rwx /dev/ttyUSB0

    start serialserver in the terminal so you can see the logs as it tries to connect. navigate to the mods/js folder in the terminal (probably use cd ~/mods/js) and type: node serialserver.js ::ffff:127.0.0.1 1234

    check serialserver is running with: ps aux | grep node