You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
## Smartphone Test Farm Setup Examples
2
2
3
-
[Smartphone Test Farm](https://github.com/openstf/stf) is a great tool to create on-premise device farm. And also, it is very easy to get started with it using it's `stf local` feature. But the problem is this feature was developed for debugging purpose. Users are not supposed to use it in production environment. It is okay to use it for a small farm of 10 ~ 15 devices with one host machine. But to scale the service you will have to deploy it on a computer cluster.
3
+
[Smartphone Test Farm](https://github.com/openstf/stf) is a great tool to create on-premise device farm. And also, it is very easy to get started with it using it's `stf local` feature. But the problem is, this feature was developed for development purpose. Users are not supposed to use it in production. It is okay to use it for a small farm of 10 ~ 15 devices with one host machine. But to scale you will have to deploy it over a cluster instead.
4
4
5
-
This project will provide various setup examples for STF in production environment. I will be using [Vagrant](https://www.vagrantup.com/) with [VirtualBox](https://www.virtualbox.org/) provider to create virtual cluster for demonstration.
5
+
This project will provide various setup examples of STF in production environment. I will be using [Vagrant](https://www.vagrantup.com/) with [VirtualBox](https://www.virtualbox.org/) provider to create virtual cluster for demonstration.
6
6
7
7
## Assumptions
8
8
- This project assumes that you already have read following nicely written documents. In case you haven't read, it is highly recommended to read them before going ahead.
@@ -12,8 +12,9 @@ This project will provide various setup examples for STF in production environme
12
12
-*Theoritically this can be done on any OS which supports VirtualBox and Vagrant but they haven't been confirmed yet!*
Before going any further, I am going to give you a brief idea about what kind of setups are we going to do. Most of the setups will have two major components.
@@ -42,15 +43,15 @@ cd ./db; vagrant up
42
43
```
43
44
44
45
Above command will do following things
45
-
- Download **ubuntu/trusty64** image if image is not present (*this may take time depending on internet speed*)
46
+
- Download **bento/ubuntu-16.04** image if image is not present (*this may take time depending on internet speed*)
46
47
- Launch Ubuntu VM and set its IP to `198.162.50.11`
47
48
- Install and run rethinkdb server
48
49
49
50
You can confirm if rethinkdb is up by visiting rethinkdb [admin console](http://198.162.50.11:8080)
50
51
51
52
Please have a look at [Vagrantfile](db/Vagrantfile) to have better understanding about what is happening.
52
53
53
-
**TODO**: Use 2 instances of VM for rethinkdb if somebody complains that this is not a real cluster:P
54
+
**TODO**: Use 2 instances of VM for rethinkdb if somebody complains that this is not a real cluster.
Copy file name to clipboardExpand all lines: docs/coreos_fleet.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,9 @@
10
10
### Add usb filters
11
11
In order to access real devices from VMs, it is necessary to create usb filters. Update [Vagrantfile](../coreos/Vagrantfile) for this. Instructions are written in file itself.
12
12
13
-
1. Connect the android device or devices to your OS X and check if they are properly connected by running `adb devices`
14
-
2. Get vendor_id and product_id of devices using `VBoxManage list usbhost` command. It will display something like this
13
+
1. Make sure VirtualBox Extension Pack is installed
14
+
2. Connect the android device or devices to your OS X and check if they are properly connected by running `adb devices`
15
+
3. Get vendor_id and product_id of devices using `VBoxManage list usbhost` command. It will display something like this
15
16
16
17
```
17
18
UUID: e7757772-3030-44a3-ac14-00e53e9e32f8
@@ -27,7 +28,7 @@ In order to access real devices from VMs, it is necessary to create usb filters.
27
28
Current State: Busy
28
29
```
29
30
30
-
3. Uncomment the usbfilter line in [Vagrantfile](../coreos/Vagrantfile) and rewrite it like this.
31
+
4. Uncomment the usbfilter line in [Vagrantfile](../coreos/Vagrantfile) and rewrite it like this.
0 commit comments