-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.md.bak
85 lines (45 loc) · 3.49 KB
/
README.md.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# train_ticket_android_app
microservice benchmark android app
### This Android application is based on ticket seller application
### Supported Android Version
- v 6.0+
### Local runtime Android SDK environment
- compileSdkVersion: 28
- targetSdkVersion: 28
- gradle:3.2.0
### Development Tool
- Android Studio v3.2
### SetUp setps
- (1) You should setup [ticket seller application](https://github.com/FudanSELab/train-ticket) ,
then follow the deployment with k8s and isito instructions, and expose server port 31380.
- (2) Clone all the code to your local computer with git.
- (3) Connect your android phone with your computer with android usb-cable, `please make sure it is connected`.
- (4) Change Ip to your server master ip in UrlProperties class, `clientIstioIp = "http://master_ip:31380"`.
- (5) Than build with Android Studio.
That's all !
### Notification
**Note:** If your server deployed in the Public cloud, your android does not need to use the same network! Conversely needs!
### Use Steps
if your successfully build it, Than Congratulation!
- Before login, go to account page
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-12-10-19-56-51-353_ts.trainticket.png" width="350" hegiht="620" align=center />
- Login, you can use username `[email protected]` && password `DefaultPassword`
<img src="https://github.com/liucloudhub/liucloudhub.github.io/blob/master/img/android/Screenshot_2018-12-10-19-56-56-992_ts.trainticket.png" width="350" hegiht="620" align=center />
- After login, you will see the below page
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-11-03-15-44-30-130_ts.trainticket.png" width="350" hegiht="620" align=center />
- Contacts List
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-12-10-19-26-19-828_ts.trainticket.png" width="350" hegiht="620" align=center />
- orders List
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-12-10-19-30-12-386_ts.trainticket.png" width="350" hegiht="620" align=center />
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/0B5A0F77E272A920483C73BA93F102B9.jpg" width="350" hegiht="620" align=center />
- Buy ticket
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-12-10-19-31-09-747_ts.trainticket.png" width="350" hegiht="620" align=center />
- Travel Path
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-12-10-19-31-52-848_ts.trainticket.png" width="350" hegiht="620" align=center />
- Path Info
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-12-10-15-53-52-877_ts.trainticket.png" width="350" hegiht="620" align=center />
- Passenger Select
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-12-10-19-32-19-692_ts.trainticket.png" width="350" hegiht="620" align=center />
- Order Detail
<img src="https://raw.githubusercontent.com/liucloudhub/liucloudhub.github.io/master/img/android/Screenshot_2018-12-10-19-32-54-828_ts.trainticket.png" width="350" hegiht="620" align=center />
- Any Other Question?