diff --git a/README.md b/README.md index be5e9c3..3c6d906 100644 --- a/README.md +++ b/README.md @@ -28,15 +28,16 @@ First install the Android toolchain on your system. Make sure you have the correct environment variables set. On linux you could add this to your `~/.bashrc`: -``` +```bash export ANDROID_SDK=$HOME/Android/Sdk export ANDROID_HOME=$ANDROID_SDK export PATH=$PATH:$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$ANDROID_SDK/tools/bin:$ANDROID_SDK/platform-tools:$ANDROID_SDK/build-tools/28.0.3 ``` -To create a signed release build, add a file `platform/android/release-signing.prorperties` following this template. following file. You need a keystore with a valid signing key! +To create a signed release build, add a file `platform/android/release-signing.properties` following this template. +You need a keystore with a valid signing key! -``` +```properties storeFile=../../reedu-android.keystore storeType=jks keyAlias=reedu-android @@ -49,6 +50,16 @@ To build & deploy on an emulator or device use the `android:*` build commands de npm run android:dev # build debug build & deploy to connected device & restart app ``` +### updating blockly +Blockly is included as a submodule, linking to . +To update it, just pull in the commit you want, and commit the change in this repository: +```bash +cd src/assets/blockly +git pull +cd ../../.. +git commit -m 'update blockly' +``` + ## License The source code in this repository is GPL-2 licensed. Submodules such as Blockly may be licensed differently, please check their respective repositories.