- Author: gbmhunter [email protected] (www.mbedded.ninja)
- Created: 2015-11-02
- Company: mbedded.ninja
- Project: NinjaTerm
- Language: Javascript (vue.js)/HTML/CSS
- IDE: VS Code
- Documentation Format: JSDoc
- License: GPLv3
The goal of this is to provide a easy-to-use web application to help you with all those small, frequent calculations you do while doing embedded engineering (or other forms of engineering). Whether it be a low-pass LC filter, a resistor divider, trying to find PCB track current, or even just Ohm's law (o.k., I hope you don't forget that one, but it is included none-the-less), this app makes them easy to find, use, and have confidence in the answers.
Go to http://ninja-calc.mbedded.ninja/
See the project home page for a list of features.
- Download/clone this repository into a folder on your computer.
- Run
npm install
to install dependencies (make sure node/npm is installed on your system). - Open the project in WebStorm (
.idea/workspace.xml
file is included in repo), or your favourite text/code editor. - Develop!
- Type
npm run dev
to start up the app in development mode (it's hot reloadable). - Type
npm run tests
to run unit and e2e tests. Typenpm run unit
to run just the unit tests,npm run e2e
to run just the e2e tests.
- Make sure you are on the
develop
branch and all changes fromfeature/xxx
branches have been merged into it. - Update
changelog.md
with a list of changes since the last release, under a heading which is the new version number (e.g.v1.2.0
). - Commit the changes made above to the
develop
branch. - Merge the
develop
branch into themaster
branch. MAKE SURE that you create a new commit while doing this, even if fast-forward is possible. - Tag the commit on the master branch with the version number (e.g.
v1.2.0
). - Push all branches to the remote GitHub repo.
- To deploy the new files, firstly run
npm run build
. This will create production files in thedist/
directory. - Run
./deploy.sh
(from a UNIX-style shell, e.g. Linux, cygwin, MinGW). This will copy the production files fromdist/
to the remote server. Note: SSH authentication is required for this work (currently only [email protected] can do this step).
See changelog.md.
See the project home page for a list of contributors.
- big-integer: Used in the CRC calculator
- chart.js: Used by the PID tuner.
- d3: Used in the two coordinate geodesic calculator.
- [email protected]: NOTE. Tabs are specific to used version. v2 doesn't seem to work.
- keen-ui: Buttons used.
- topojson-client: Used in the two coordinate geodesic calculator.
- v-tooltip: Tooltips.
- versor: Used in the two coordinate geodesic calculator.
- vue2-google-maps: Used in the map plotter tool.
- [email protected]: Buttons, tooltips used, sidenav used. NOTE: Sidenav not available in latest version.
- vue-select: General purpose UI select element.
- vue-slider-component: Sliders used in the PID tuner tool.
- vuex: Centralized state management for app.
- vuex-router-sync: Used with vuex and the router.
raw-loader: Webpack raw loader for reading text files. Used in the PID tuner tool.
Added new rule to load text files (used in the PID tuner).
{
test: /\.txt$/,
use: 'raw-loader'
},