init commit,
This commit is contained in:
61
002_source/ionic_mobile/README.md
Normal file
61
002_source/ionic_mobile/README.md
Normal file
@@ -0,0 +1,61 @@
|
||||
# README
|
||||
|
||||
## environment and requirements
|
||||
|
||||
- windows 10 / mac
|
||||
- node 18
|
||||
- ionic 7
|
||||
- android studio 2023.3.1
|
||||
- for windows download [here](https://redirector.gvt1.com/edgedl/android/studio/install/2023.3.1.20/android-studio-2023.3.1.20-windows.exe)
|
||||
|
||||
## to start dev environment
|
||||
|
||||
### windows environment
|
||||
|
||||
```batch
|
||||
> .\scripts\win\000_clean.bat
|
||||
> .\scripts\win\002_build_w.bat
|
||||
```
|
||||
|
||||
### mac environment
|
||||
|
||||
```bash
|
||||
$ ./scripts/mac/000_clean.bat
|
||||
$ ./scripts/mac/002_build_w.bat
|
||||
```
|
||||
|
||||
### to update contents
|
||||
|
||||
#### 1 vocabulary/connectives
|
||||
|
||||
> 曾經有一個 concern , 圖解像度比較低,要講埋
|
||||
|
||||
`public/data/Lesson/content.json`
|
||||
|
||||
#### 2 quiz
|
||||
|
||||
> 記得講 DEBUG 果幾個點整走,同埋要解釋唔關 code 事
|
||||
|
||||
`public/data/Quiz/ListeningPractice/content.json`
|
||||
`public/data/Quiz/MatchingFrenzy/content.json`
|
||||
`public/data/Quiz/ConnectivesRevision/content.json`
|
||||
|
||||
## to build apk
|
||||
|
||||
```batch
|
||||
1. sync to android studio
|
||||
ionic > project > open in android studio
|
||||
|
||||
# in vscode -> ionic
|
||||
1. build in ionic
|
||||
2. sync in ionic
|
||||
3. open android studio
|
||||
|
||||
# in android studio
|
||||
1. open project in android studio
|
||||
`./source/mobile_trunk/android`
|
||||
|
||||
4. tools > build release apk
|
||||
```
|
||||
|
||||

|
Reference in New Issue
Block a user