init commit,

This commit is contained in:
louiscklaw
2025-04-26 10:08:01 +08:00
parent 7d70b5826b
commit d0ea7e5452
473 changed files with 29989 additions and 0 deletions

View 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
```
![alt text](docs/ionic_open_android_studio.png)