diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..21ab057 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "src/assets/blockly"] + path = src/assets/blockly + url = https://github.com/sensebox/ardublockly-1 diff --git a/README.md b/README.md index 35ce3c6..b1f29db 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,10 @@ - please fork this repository to develop your apps ### Prequesites +- Git Installation + - use + `git clone https://github.com/AppDevelopmentAtsenseBox/openSenseApp --recursive` + because the ardublockly submodule is used to implememt blockly - Node + NPM (nvm) - https://www.npmjs.com/get-npm diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 420381a..434aa26 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -5,7 +5,6 @@ import { SplashScreen } from '@ionic-native/splash-screen'; import { HomePage } from '../pages/home/home'; import { BlocklyPage } from '../pages/Blockly/blockly'; -import { OtaWizardPage } from '../pages/ota-wizard/ota-wizard'; @Component({ templateUrl: 'app.html' diff --git a/src/assets/blockly b/src/assets/blockly new file mode 160000 index 0000000..60674aa --- /dev/null +++ b/src/assets/blockly @@ -0,0 +1 @@ +Subproject commit 60674aa95849ab75e60c04d74ea29339b856473b diff --git a/src/assets/blockly.html b/src/assets/blockly.html new file mode 100644 index 0000000..ce36b5d --- /dev/null +++ b/src/assets/blockly.html @@ -0,0 +1,381 @@ + + +
+ + + + +