From f3561191975074087822084cc64a5da1c8968a30 Mon Sep 17 00:00:00 2001 From: Chirag Ghosh Date: Tue, 20 May 2025 13:55:37 +0530 Subject: [PATCH 1/2] fix(docs): steps for limactl installation Co-authored-by: Mridul Tripathi Signed-off-by: Chirag Ghosh --- .../keploy-explained/mac-linux.md | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/versioned_docs/version-2.0.0/keploy-explained/mac-linux.md b/versioned_docs/version-2.0.0/keploy-explained/mac-linux.md index 564563c83..6f7ce73a3 100644 --- a/versioned_docs/version-2.0.0/keploy-explained/mac-linux.md +++ b/versioned_docs/version-2.0.0/keploy-explained/mac-linux.md @@ -21,21 +21,32 @@ sidebar_label: Keploy on MacOS native brew install lima ``` -4. Paste this command next. +4. Create a Debian instance. ```bash -limactl show-ssh --format=config debian-12 & add it to its ssh config +limactl create template://debian-12 ``` -5. Open a remote window on your code editor -6. Click on connect to host -7. Now select the configured SSH as "lima-debian" -8. Once you are in the terminal run the following commands to go into your directory +5. Start the instance + +```bash +limactl start debian-12 +``` + +6. Enter the shell of the running linux instance + +```bash +limactl shell debian-12 +``` + +7. Now you are in the linux shell of the debian instance. Now, run the following command to go the `Users` into your directory ```bash cd /Users ``` +8. Replace the `Username` with your macOS username in the following command. This will take you to your macOS home directory. (You might need to allow access to Terminal.app in a popup) + ```bash cd /{Username} ``` From 3faef94f1bbe83a9bf2a33ca6071e6a428595f4c Mon Sep 17 00:00:00 2001 From: Chirag Ghosh Date: Wed, 21 May 2025 12:31:05 +0530 Subject: [PATCH 2/2] fix(docs): remove duplicate apt-get update steps Signed-off-by: Chirag Ghosh --- versioned_docs/version-2.0.0/keploy-explained/mac-linux.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/versioned_docs/version-2.0.0/keploy-explained/mac-linux.md b/versioned_docs/version-2.0.0/keploy-explained/mac-linux.md index 6f7ce73a3..5011b79f2 100644 --- a/versioned_docs/version-2.0.0/keploy-explained/mac-linux.md +++ b/versioned_docs/version-2.0.0/keploy-explained/mac-linux.md @@ -113,10 +113,6 @@ echo \ sudo apt-get -y update ``` -```bash -sudo apt-get -y update -``` - ```bash sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin ```