@@ -5,12 +5,19 @@ This project is a secure, lightweight SaaS-like database latency testing GUI and
5
5
https://github.com/user-attachments/assets/e3eaf179-914b-4c17-bc47-35f17e86aee0
6
6
7
7
8
- ### 1. Clone Repository # ##
8
+ ## Clone Repository ##
9
9
``` bash
10
10
git clone https://github.com/oracle-quickstart/db-endpoint-latency-testing-ammeter.git && cd db-endpoint-latency-testing-ammeter/
11
11
```
12
12
13
- ### 2. Create a Python Virtual Environment
13
+ ## Quick Build with One-Command ##
14
+ ``` bash
15
+ bash build.sh
16
+ ```
17
+
18
+ ## Alternate : Step-by-Step Manual Build ##
19
+
20
+ ### 1. Create a Python Virtual Environment
14
21
15
22
``` bash
16
23
python3 -m venv .venv
@@ -26,16 +33,16 @@ source .venv/bin/activate
26
33
.venv\S cripts\a ctivate
27
34
```
28
35
29
- ### 3 . Install requirements
36
+ ### 2 . Install requirements
30
37
``` bash
31
38
pip3 install -r requirements.txt
32
39
```
33
40
34
- ### 4 . Launch the Web App
41
+ ### 3 . Launch the Web App
35
42
``` bash
36
43
uvicorn app.main:app --host 0.0.0.0 --port 8000
37
44
```
38
- ### 5 . Open your browser at:
45
+ ### 4 . Open your browser at:
39
46
```
40
47
http://localhost:8000
41
48
```
@@ -49,7 +56,7 @@ http://localhost:8000
49
56
50
57
![ Screenshot 2025-07-03 at 11 26 30 PM] ( https://github.com/user-attachments/assets/f1b17fb8-f637-4b86-95c9-52dd0b6e2067 )
51
58
52
- ### 6 . API Usage via Curl/CLI Example:
59
+ ### 5 . API Usage via Curl/CLI Example:
53
60
``` bash
54
61
curl -u admin:change_this -X POST http://localhost:8000/api/test-latency -d dbtype=mysql -d host=localhost -d port=3390 -d username=testuser -d password=" YOurP@ssword#12" -d database=testdb -d interval=1 -d period=10 | jq .
55
62
```
0 commit comments