App for creating a flexible grid system that can be used for Augmentative and Alternative Communication (AAC), Environmental control or interaction with custom ARE models. The AsTeRICS Grid will also be runnable standalone, without any AsTeRICS backend.
- clone the project
git clone email@example.com:asterics/AsTeRICS-Grid.git
- install node.js https://nodejs.org/
- go to the directory of the cloned project and run
npm install the following commands are possible:
npm run start--> starts a webserver serving the AsTeRICS grid, does hot reloading if js-sources change.
npm run build--> builds the js-files in folder
npm run watch--> watches the files in in folder
srcto and builds them to
app/build_legacyfolders, if something changes.
npm run pages--> updates the branch
gh-pagesto the branch
masterand pushes it. Therefore this command updates the online site of the AsTeRICS Grid at https://asterics.github.io/AsTeRICS-Grid/app/
npm run pages-stash--> same as (4) but does a
git stashbefore and
git stash applyafter all actions and therefore can be used if there are non-commited changes in the working directory.
npm run start-appcache--> same as (1), includes appcache file for offline capabilities (maybe inconvenient for development).
npm run watch-appcache--> same as (3), includes appcache file for offline capabilities (maybe inconvenient for development). For auto-reloading of changes with enabled offline capabilities start
npm run start-appcachein one tab and
npm run watch-appcachein another tab.
Thanks to https://crossbrowsertesting.com/ for providing a free open source license.