Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
public/ | H | 25-Apr-2025 | - | 18 | 16 | |
src/ | H | 25-Apr-2025 | - | 2,370 | 2,155 | |
test/ | H | 25-Apr-2025 | - | 23 | 23 | |
.dockerignore | H A D | 25-Apr-2025 | 57 | 8 | 7 | |
.env.development | H A D | 25-Apr-2025 | 21 | 2 | 1 | |
.env.production | H A D | 25-Apr-2025 | 20 | 2 | 1 | |
.eslintignore | H A D | 25-Apr-2025 | 34 | 1 | 1 | |
.eslintrc.json | H A D | 25-Apr-2025 | 316 | 21 | 21 | |
.gitignore | H A D | 25-Apr-2025 | 314 | 34 | 28 | |
.prettierrc.js | H A D | 25-Apr-2025 | 74 | 6 | 5 | |
Dockerfile | H A D | 25-Apr-2025 | 557 | 25 | 21 | |
README.md | H A D | 25-Apr-2025 | 963 | 35 | 26 | |
babel.config.js | H A D | 25-Apr-2025 | 66 | 4 | 3 | |
build_zip.bash | H A D | 25-Apr-2025 | 295 | 8 | 6 | |
jest.config.js | H A D | 25-Apr-2025 | 108 | 7 | 6 | |
ota_interface.py | H A D | 25-Apr-2025 | 11.5 KiB | 310 | 287 | |
package-lock.json | H A D | 25-Apr-2025 | 1.2 MiB | 33,273 | 33,272 | |
package.json | H A D | 25-Apr-2025 | 2 KiB | 83 | 82 | |
target_lib.py | H A D | 25-Apr-2025 | 6.6 KiB | 183 | 164 | |
test_ota_interface.py | H A D | 25-Apr-2025 | 13.9 KiB | 330 | 297 | |
test_suite.py | H A D | 25-Apr-2025 | 566 | 18 | 15 | |
test_target_lib.py | H A D | 25-Apr-2025 | 7.3 KiB | 193 | 168 | |
vue.config.js | H A D | 25-Apr-2025 | 173 | 13 | 11 | |
web_server.py | H A D | 25-Apr-2025 | 8.1 KiB | 207 | 178 |
README.md
1# OTAGUI 2 3## Introduction 4OTAGUI is a web interface for ota_from_target_files. Currently, it can only run locally. 5 6OTAGUI use VUE.js as a frontend and python as a backend interface to ota_from_target_files. 7 8## Usage 9First, download the AOSP codebase and set up the environment variable in the root directory: 10``` 11source build/envsetup.sh 12lunch 17 13``` 14In this case we use `lunch 17` as an example (aosp-x86_64-cf), you can choose whatever suitable for you. 15 16Then, in this directory, please use `npm build` to install the dependencies. 17 18Create a `target` directory to store the target files and a `output` directory 19to store the output files: 20``` 21mkdir target 22mkdir output 23``` 24 25Finally, run the python http-server and vue.js server: 26``` 27python3 web_server.py & 28npm run serve 29``` 30### Run with Docker 31 321. Build the image `docker build -t zhangxp1998/test .` 33 342. Run: `docker run -it -p 8000:8000 -v target:/app/target -v output:/app/output zhangxp1998/test:latest` 35