1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
James Ketrenos
7821ec13bd Misc doc updates
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2025-01-04 15:03:46 -08:00
James Ketrenos
35a7ede217 Added less install
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2025-01-04 15:03:41 -08:00
2 changed files with 44 additions and 3 deletions

View File

@ -136,6 +136,7 @@ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
nano \
openssh-client \
less \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log}

View File

@ -116,22 +116,62 @@ avdmanager create avd \
-k "system-images;android-35-ext14;google_apis_playstore;x86_64"
```
# Emulator
## Run the emulator
Launch the development container
```bash
./launch.sh eikona
```
Launch the emulator
Once the emulator is launched (see below), select the device (shift-a) then switch to debug build (s) and finally open the app (a).
## Launch the emulator
```bash
./shell.sh eikona
./emulator.sh Pixel
```
Install the app
## Install the app
```bash
./shell.sh eikona
./install.sh debug # or release -- default debug
```
```
# Add a new component
## Shell in and add component
```bash
./shell.sh eikona
npx expo install react-pdf-viewer
```
### To remove
```bash
./shell.sh eikona
npm remove react-pdf-viewer
```
## Build the app
While in the shell previously launched, run the 'build' script:
```bash
./shell.sh eikona
./build.sh debug # release
```
# Update the application launcher icon
Go to https://easyappicon.com/, drag the adaptive-icon.png to the app, reduce
padding to -100%, then save.
Copy the ic-launcher/android/* files to android/app/src/main/res/
Rebuild the application.