mirror of
https://github.com/sensebox/blockly-app
synced 2025-06-09 11:35:50 +02:00
document how to update blockly
This commit is contained in:
parent
4fc361abc4
commit
08f2c5b0cc
1 changed files with 14 additions and 3 deletions
17
README.md
17
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 <https://github.com/sensebox/ardublockly-1>.
|
||||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue