Compare commits
No commits in common. "master" and "1.9-p3" have entirely different histories.
14
README.md
14
README.md
|
@ -9,7 +9,6 @@
|
|||
[](https://www.codacy.com/app/butomo1989/docker-appium?utm_source=github.com&utm_medium=referral&utm_content=butomo1989/docker-appium&utm_campaign=Badge_Grade)
|
||||
[](https://github.com/budtmo/docker-android/releases)
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fbudtmo%2Fdocker-android?ref=badge_shield)
|
||||
[](http://paypal.me/budtmo)
|
||||
[](http://makeapullrequest.com)
|
||||
|
||||
Docker-Android is a docker image built to be used for everything related to mobile website testing and Android project.
|
||||
|
@ -82,14 +81,7 @@ Docker is installed in your system.
|
|||
Quick Start
|
||||
-----------
|
||||
|
||||
1. Your machine need to support virtualization. To check it:
|
||||
|
||||
```
|
||||
sudo apt install cpu-checker
|
||||
kvm-ok
|
||||
```
|
||||
|
||||
2. Run Docker-Android
|
||||
1. Run Docker-Android
|
||||
|
||||
- For ***Linux OS***, please use image name that contains "x86"
|
||||
|
||||
|
@ -100,7 +92,7 @@ Quick Start
|
|||
- For ***OSX*** and ***Windows OS***, please use Virtual Machine that support Virtualization with Ubuntu OS
|
||||
|
||||
|
||||
3. Verify the ip address of docker host.
|
||||
2. Verify the ip address of docker host.
|
||||
|
||||
- For OSX, you can find out by using following command:
|
||||
|
||||
|
@ -110,7 +102,7 @@ Quick Start
|
|||
|
||||
- For different OS, localhost should work.
|
||||
|
||||
4. Open ***http://docker-host-ip-address:6080*** from web browser. Note: Adding ```?view_only=true``` will give user only view only permission.
|
||||
3. Open ***http://docker-host-ip-address:6080*** from web browser. Note: Adding ```?view_only=true``` will give user only view only permission.
|
||||
|
||||
Custom configurations
|
||||
---------------------
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM appium/appium:1.20.2-p0
|
||||
FROM appium/appium:1.21.0-p0
|
||||
|
||||
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM appium/appium:1.20.2-p0
|
||||
FROM appium/appium:1.21.0-p0
|
||||
|
||||
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM appium/appium:1.20.2-p0
|
||||
FROM appium/appium:1.21.0-p0
|
||||
|
||||
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ def is_initialized(device_name) -> bool:
|
|||
if os.path.exists(config_path):
|
||||
logger.info('Found existing config file at {}.'.format(config_path))
|
||||
with open(config_path, 'r') as f:
|
||||
if any('hw.device.name = {}'.format(device_name) in line for line in f):
|
||||
if any('hw.device.name={}'.format(device_name) in line for line in f):
|
||||
logger.info('Existing config file references {}. Assuming device was previously initialized.'.format(device_name))
|
||||
return True
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue