From 35dedb392a8380b65b910fc08ad762a8c2fcf35b Mon Sep 17 00:00:00 2001 From: Pranshu Srivastava <37413698+PranshuSrivastava@users.noreply.github.com> Date: Wed, 20 Dec 2023 15:22:57 +0530 Subject: [PATCH] chore:updated the alias (#287) Signed-off-by: Pranshu Srivastava Co-authored-by: Pranshu Srivastava --- .../keploy-explained/dev-guide.md | 7 ++- .../version-2.0.0/quickstart/go-gin-mongo.md | 44 +++++++++---------- .../version-2.0.0/quickstart/go-gin-redis.md | 32 +++++++------- .../version-2.0.0/quickstart/go-mux-sql.md | 40 ++++++++--------- .../quickstart/node-express-mongoose.md | 32 +++++++------- .../quickstart/python-django-sql.md | 32 +++++++------- .../quickstart/python-fastapi-sql.md | 32 +++++++------- .../quickstart/python-fastapi-twilio.md | 32 +++++++------- .../quickstart/python-flask-mongo.md | 32 +++++++------- .../version-2.0.0/quickstart/samples-bunjs.md | 30 ++++++------- .../version-2.0.0/quickstart/samples-echo.md | 28 ++++++------ 11 files changed, 170 insertions(+), 171 deletions(-) diff --git a/versioned_docs/version-2.0.0/keploy-explained/dev-guide.md b/versioned_docs/version-2.0.0/keploy-explained/dev-guide.md index c3fa781e9..da43adb5b 100644 --- a/versioned_docs/version-2.0.0/keploy-explained/dev-guide.md +++ b/versioned_docs/version-2.0.0/keploy-explained/dev-guide.md @@ -135,15 +135,14 @@ docker build -t . #### Create Alias: -```shell -alias keployV2='sudo docker run --name keploy-ebpf -p 16789:16789 --network keploy-network --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ' -``` +````shell +alias keployV2='sudo docker run --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ' #### Capture Test Cases: ```shell keployV2 record -c "docker run -p 8080:8080 --name --network keploy-network --rm "" --containerName -``` +```` #### Running Test Cases: diff --git a/versioned_docs/version-2.0.0/quickstart/go-gin-mongo.md b/versioned_docs/version-2.0.0/quickstart/go-gin-mongo.md index 76d1e62ba..f454b69d1 100644 --- a/versioned_docs/version-2.0.0/quickstart/go-gin-mongo.md +++ b/versioned_docs/version-2.0.0/quickstart/go-gin-mongo.md @@ -37,7 +37,7 @@ go mod download Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -49,16 +49,16 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker #### Add alias for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -74,8 +74,8 @@ Depending on your OS, choose your adventure: Getting logs like this? Perfect! 👌 - Keploy Record Test case - Keploy record mocks + Keploy Record Test case + Keploy record mocks 🔥 Challenge time! Generate some test cases. How? Just **make some API calls**. Postman, Hoppscotch or even curl - take your pick! @@ -261,11 +261,11 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
-
+
+
-
- Run App on 🐧 Linux +
+ Run App on 🐧 Linux We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (mongoDB) chill on Docker. Ready? Let's get the party started!🎉 First things first, update the MongoDB URL to `localhost:27017` on **line 21** of our trusty `main.go` file. @@ -291,8 +291,8 @@ Depending on your OS, choose your adventure: Keep an eye out for the `-c `flag! It's the command charm to run the app. Whether you're using `go run main.go handler.go` or the binary path like `./test-app-url-shortener`, it's your call. If you're seeing logs that resemble the ones below, you're on the right track: - Keploy Record Test case - Keploy record mocks + Keploy Record Test case + Keploy record mocks Alright, magician! With the app alive and kicking, let's weave some test cases. The spell? Making some API calls! Postman, Hoppscotch, or the classic curl - pick your wand. @@ -470,14 +470,14 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
+ -
+
--
- MacOS MacOs +-
+ MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -486,7 +486,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -502,8 +502,8 @@ Depending on your OS, choose your adventure: Getting logs like this? Perfect! 👌 - Keploy Record Test case - Keploy record mocks + Keploy Record Test case + Keploy record mocks 🔥 Challenge time! Generate some test cases. How? Just **make some API calls**. Postman, Hoppscotch or even curl - take your pick! @@ -688,4 +688,4 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
diff --git a/versioned_docs/version-2.0.0/quickstart/go-gin-redis.md b/versioned_docs/version-2.0.0/quickstart/go-gin-redis.md index 9b9e6603d..fd4c1a4ee 100644 --- a/versioned_docs/version-2.0.0/quickstart/go-gin-redis.md +++ b/versioned_docs/version-2.0.0/quickstart/go-gin-redis.md @@ -55,7 +55,7 @@ docker build -t gin-app:1.0 . Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -67,16 +67,16 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker #### Add alias for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -254,11 +254,11 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
-
+
+
-
- Run App on 🐧 Linux +
+ Run App on 🐧 Linux We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (Redis) chill on Docker. Ready? Let's get the party started!🎉 @@ -447,14 +447,14 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
+ -
+
--
- MacOS MacOs +-
+ MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -463,7 +463,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -641,4 +641,4 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
+
diff --git a/versioned_docs/version-2.0.0/quickstart/go-mux-sql.md b/versioned_docs/version-2.0.0/quickstart/go-mux-sql.md index c29431538..9cf658986 100644 --- a/versioned_docs/version-2.0.0/quickstart/go-mux-sql.md +++ b/versioned_docs/version-2.0.0/quickstart/go-mux-sql.md @@ -41,8 +41,8 @@ go mod download Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows - Linux Linux or Windows Windows + Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -54,18 +54,18 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator - Test Case Generator + Test Case Generator + Test Case Generator Moving on... -
- Run App with Docker Container Docker - Run App with Docker Container Docker +
+ Run App with Docker Container Docker + Run App with Docker Container Docker #### Add alias for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -228,11 +228,11 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
-
+
+
-
- Run App on 🐧 Linux +
+ Run App on 🐧 Linux We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (mongoDB) chill on Docker. Ready? Let's get the party started!🎉 @@ -409,15 +409,15 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
+ -
+
--
- MacOS MacOs - MacOS MacOs +-
+ MacOS MacOs + MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -426,7 +426,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -593,4 +593,4 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
diff --git a/versioned_docs/version-2.0.0/quickstart/node-express-mongoose.md b/versioned_docs/version-2.0.0/quickstart/node-express-mongoose.md index 2813d53d0..0e2dbdc66 100644 --- a/versioned_docs/version-2.0.0/quickstart/node-express-mongoose.md +++ b/versioned_docs/version-2.0.0/quickstart/node-express-mongoose.md @@ -41,7 +41,7 @@ npm install Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -53,16 +53,16 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker #### Add alias for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -144,11 +144,11 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
-
+
+
-
- Run App on 🐧 Linux +
+ Run App on 🐧 Linux We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (mongoDB) chill on Docker. Ready? Let's get the party started!🎉 @@ -237,12 +237,12 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
-
-
+
+ +
--
- MacOS MacOs +-
+ MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -251,7 +251,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -333,4 +333,4 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
+
diff --git a/versioned_docs/version-2.0.0/quickstart/python-django-sql.md b/versioned_docs/version-2.0.0/quickstart/python-django-sql.md index 9d517263d..0fc4842b3 100644 --- a/versioned_docs/version-2.0.0/quickstart/python-django-sql.md +++ b/versioned_docs/version-2.0.0/quickstart/python-django-sql.md @@ -58,7 +58,7 @@ git clone https://github.com/keploy/samples-python.git && cd samples-python/djan Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -70,16 +70,16 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker #### Add alias for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -282,11 +282,11 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
-
+
+
-
- Run App on 🐧 Linux +
+ Run App on 🐧 Linux We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (PostgreSQL) chill on Docker. Ready? Let's get the party started!🎉 @@ -475,14 +475,14 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
+ -
+
--
- MacOS MacOs +-
+ MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -491,7 +491,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -672,4 +672,4 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
diff --git a/versioned_docs/version-2.0.0/quickstart/python-fastapi-sql.md b/versioned_docs/version-2.0.0/quickstart/python-fastapi-sql.md index 4c1220172..92eea5ad5 100644 --- a/versioned_docs/version-2.0.0/quickstart/python-fastapi-sql.md +++ b/versioned_docs/version-2.0.0/quickstart/python-fastapi-sql.md @@ -56,7 +56,7 @@ git clone https://github.com/keploy/samples-python.git && cd samples-python/fast Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -68,16 +68,16 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker #### Add alias for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -250,11 +250,11 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
-
+
+
-
- Run App on 🐧 Linux +
+ Run App on 🐧 Linux We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (PostgreSQL) chill on Docker. Ready? Let's get the party started!🎉 @@ -427,14 +427,14 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
+ -
+
--
- MacOS MacOs +-
+ MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -443,7 +443,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -615,4 +615,4 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
diff --git a/versioned_docs/version-2.0.0/quickstart/python-fastapi-twilio.md b/versioned_docs/version-2.0.0/quickstart/python-fastapi-twilio.md index 2af922d52..e598a7c82 100644 --- a/versioned_docs/version-2.0.0/quickstart/python-fastapi-twilio.md +++ b/versioned_docs/version-2.0.0/quickstart/python-fastapi-twilio.md @@ -43,7 +43,7 @@ git clone https://github.com/keploy/samples-python.git && cd samples-python/fast Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -55,16 +55,16 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker #### Add alias for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -254,11 +254,11 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
-
+
+
-
- Run App on 🐧 Linux +
+ Run App on 🐧 Linux We'll be running our sample application right on Linux. Ready? Let's get the party started!🎉 @@ -460,14 +460,14 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
+ -
+
--
- MacOS MacOs +-
+ MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -476,7 +476,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -665,4 +665,4 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
diff --git a/versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md b/versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md index 930e7c53f..584fefbd1 100644 --- a/versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md +++ b/versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md @@ -52,7 +52,7 @@ git clone https://github.com/keploy/samples-python.git && cd samples-python/flas Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -64,16 +64,16 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker #### Add alias for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -239,11 +239,11 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
-
+
+
-
- Run App on 🐧 Linux +
+ Run App on 🐧 Linux We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (PostgreSQL) chill on Docker. Ready? Let's get the party started!🎉 @@ -405,14 +405,14 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. 😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
+ -
+
--
- MacOS MacOs +-
+ MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -421,7 +421,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -580,4 +580,4 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
diff --git a/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md b/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md index 788811ba0..38730f580 100644 --- a/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md +++ b/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md @@ -42,7 +42,7 @@ There are two ways to use Keploy:- Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -54,12 +54,12 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App on 🐧 Linux / WSL +
+ Run App on 🐧 Linux / WSL We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (mongoDB) chill on Docker. Ready? Let's get the party started!🎉 @@ -130,17 +130,17 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker #### Add alias for Keploy 🐰: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -207,13 +207,13 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
-
+ +
--
- MacOS MacOs +-
+ MacOS MacOs Dive straight in, but first, give **Colima** a gentle nudge with (`colima start`). Let's make sure it's awake and ready for action! @@ -222,7 +222,7 @@ Depending on your OS, choose your adventure: For the sake of convenience (and a bit of Mac magic 🪄), let's set up a shortcut for Keploy: ```bash - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ### Lights, Camera, Record! 🎥 @@ -290,7 +290,7 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
+
### Running the testcases diff --git a/versioned_docs/version-2.0.0/quickstart/samples-echo.md b/versioned_docs/version-2.0.0/quickstart/samples-echo.md index f86a54043..c0c89d436 100644 --- a/versioned_docs/version-2.0.0/quickstart/samples-echo.md +++ b/versioned_docs/version-2.0.0/quickstart/samples-echo.md @@ -41,7 +41,7 @@ Keploy can be installed on Linux directly and on Windows with the help of WSL. B Depending on your OS, choose your adventure: -
- Linux Linux or Windows Windows + Linux Linux or Windows Windows Alright, let's equip ourselves with the **latest Keploy binary**: @@ -53,12 +53,12 @@ Depending on your OS, choose your adventure: If everything goes right, your screen should look a bit like this: - Test Case Generator + Test Case Generator Moving on... -
- Run App on 🐧 Linux / WSL +
+ Run App on 🐧 Linux / WSL ### Start Postgres Instance @@ -154,10 +154,10 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
- Run App with Docker Container Docker +
+ Run App with Docker Container Docker ## Create Keploy Alias @@ -166,7 +166,7 @@ Depending on your OS, choose your adventure: If you're using a docker-compose network, replace keploy-network with your app's `docker_compose_network_name` below. ```shell - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ## Let's start the MongoDB Instance @@ -249,12 +249,12 @@ Depending on your OS, choose your adventure: Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.😊🚀 Happy coding! ✨👩‍💻👨‍💻✨ -
+
-
+ --
- MacOS MacOs +-
+ MacOS MacOs Keploy can be used on Linux & Windows through Docker, and on MacOS by the help of [Colima](https://docs.keploy.io/docs/server/macos/installation/#using-colima) @@ -265,7 +265,7 @@ Depending on your OS, choose your adventure: If you're using a docker-compose network, replace keploy-network with your app's `docker_compose_network_name` below. ```shell - alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy' + alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v "$(pwd)":/files -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock -v '"$HOME"'/.keploy-config:/root/.keploy-config -v '"$HOME"'/.keploy:/root/.keploy --rm ghcr.io/keploy/keploy' ``` ## Let's start the MongoDB Instance @@ -349,4 +349,4 @@ Depending on your OS, choose your adventure: Happy coding! ✨👩‍💻👨‍💻✨ -
+