Adaptone front-end application build using EmberJS and Electron. This application acts as a replacement for a mixing console.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>this repositorycd adaptone-appnpm install
For development and test purposes, this application can be run in the browser:
ember serveornpm start- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
You can also launch the app in desktop mode:
ember electron
The developer tools and ember console are available in desktop mode by pressing Ctrl+Shift+i. It is strongly recommended to run with electron in desktop mode before pushing any feature.
The tests are made using https://github.com/emberjs/ember-mocha and https://github.com/ember-cli/ember-cli-chai. The ember application can be tested for using these commands:
ember testember test --server
The application can also be tested in Electron using this command:
ember electron:test
Linting is done with https://eslint.org/. New rules and customizations can be added in the .eslintrc.js file at the root of the project.
npm run lint:jsnpm run lint:js -- --fix
Creates binaries or your app using electron-forge and electron-packager in the background. Options can be specified in ember-electron/electron-forge-config.js.
ember electron:package
Creates installers and distribution bundles. For Windows, that means a Squirrel Installer and a Windows Store Package; for macOS, zip/dmg files and a Mac App Store Package, while Linux users enjoy the creation of deb, rpm, and flatpak files. Again, options can be specified in ember-electron/electron-forge-config.js.
ember electron:make
Assemble Electron application project (useful for debugging builds). For more information, check out the guide on the build pipeline.
ember electron:assemble
