mcopy/app
mmcw-dev f07a429d8b Rebuilt on linux 2018-12-09 22:01:29 -05:00
..
assets/icons
css Rebuilt on linux 2018-12-09 22:01:29 -05:00
data Import all work on digital branch into master 2018-10-06 23:38:29 -04:00
fonts
js Build new app.js 2018-06-26 09:36:18 -04:00
less
lib Import all work on digital branch into master 2018-10-06 23:38:29 -04:00
src Remove whitespace 2018-06-19 09:49:34 -04:00
test Update tests for variables features 2018-06-24 16:09:16 -04:00
views Import all work on digital branch into master 2018-10-06 23:38:29 -04:00
.gitignore
Readme.md
build_linux.json
build_linux.sh
build_mac.sh Fix build script for mac 2018-03-16 11:20:15 -04:00
build_win.js
build_win.sh
docs.sh Add docs script for future use. 2018-03-16 12:56:24 -04:00
gulpfile.js
icons.sh
index.html
install.sh
main.js Digital module, not complete, was crashing app by looking for a non-existant module 2018-10-23 14:32:41 -04:00
package-lock.json Update package lock 2018-12-09 22:01:15 -05:00
package.json Make electron debian package optional 2018-11-24 20:10:20 -05:00

Readme.md

mcopy desktop app

  1. Installation

Installation

The mcopy desktop app can be either installed from a binary (on macOS) or built from source on any platform that supports node.js and Electron apps.

Dependencies

Once node is installed (see below for platform-specific instructions) open your terminal application and enter the following commands:

git clone https://github.com/sixteenmillimeter/mcopy.git
cd mcopy/app
npm install

That's it. Once the npm install process is complete, the app can be launched with:

npm start

If you are interested in running in dev mode, simply use:

npm run dev

macOS

Installing node.js on macOS

The node.js runtime can be easily installed on macOS if you already have Homebrew. Simply install node.js with the command:

brew install node

If you're not using Homebrew, you can also install it from the node.js website.

Linux

Installing node.js on Linux

See this helpful document from the node.js Foundation about installing node.js from different package managers. This will provide more detailed instructions about distro-specific dependencies for node.js and the different packages available. Use a more current version of node, if available. At the time of this writing, development is taking place on node.js version 9.7.1.

Arduino firmware

It's recommended that on linux distributions, you have the Arduino IDE installed for debugging and to ensure that your system serial permissions are configured to communicate with the Arduino devices.

Binary installation

When installing from the pre-built .deb package, you may have to locate the package after installation using the following command:

dpkg -L mcopy-app

In the output, you should see an item like /usr/lib/mcopy-app/mcopy which is the binary that contains the desktop app. I will improve the Linux build process, but will also accept any PRs which improve it as well.

Windows

Installing node.js on Windows

Install node.js on Windows using one of their many install options.