-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Animesh Pathak <53110238+Sonichigo@users.noreply.github.com> Co-authored-by: Neha Gupta <gneha21@yahoo.in>
- Loading branch information
1 parent
a7f98f4
commit a8f529c
Showing
4 changed files
with
112 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 109 additions & 0 deletions
109
versioned_docs/version-2.0.0/keploy-explained/mac-linux.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
--- | ||
id: mac-linux | ||
title: "Running Keploy Natively on MacOS by setting up a linux env" | ||
sidebar_label: Keploy on MacOS native | ||
--- | ||
|
||
# Running Keploy Natively on MacOS by setting up a linux env | ||
|
||
### Downloading and running Keploy in Native using Debian on MacOS | ||
|
||
1. Open the terminal Session. | ||
2. Run the following command | ||
|
||
```bash | ||
limactl show-ssh --format=config debian-12 & add it to its ssh config | ||
``` | ||
|
||
3. Open a remote window on your code editor | ||
4. Click on connect to host | ||
5. Now select the configured SSH as "lima-debian" | ||
6. Once you are in the terminal run the following commands to go into your directory | ||
|
||
```bash | ||
cd /Users | ||
``` | ||
|
||
```bash | ||
cd /{Username} | ||
``` | ||
|
||
7. Run the following command to install Keploy | ||
|
||
```bash | ||
curl --silent --location "https://github.com/keploy/keploy/releases/latest/download/keploy_linux_arm64.tar.gz" | tar xz --overwrite -C /tmp | ||
sudo mkdir -p /usr/local/bin && sudo mv /tmp/keploy /usr/local/bin/keploy | ||
``` | ||
|
||
8. Run the following command to install Zsh | ||
|
||
```bash | ||
sudo apt-get -y install zsh | ||
``` | ||
|
||
**Why?** : zsh (Z Shell) is an advanced shell that offers enhanced features compared to the default bash shell. It provides better autocompletion, advanced globbing, improved history management, and more customization options. | ||
|
||
9. Install Git | ||
|
||
```bash | ||
sudo apt-get -y install git | ||
``` | ||
|
||
10. Install 'Oh-my-zsh' | ||
|
||
```bash | ||
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" | ||
``` | ||
|
||
**Why?** : oh-my-zsh is a framework for managing your zsh configuration. It comes with a collection of plugins, themes, and helpful features that enhance the zsh experience. | ||
|
||
11. Commands to Install docker | ||
|
||
```bash | ||
sudo apt-get -y update | ||
``` | ||
|
||
```bash | ||
sudo apt-get -y install ca-certificates curl | ||
``` | ||
|
||
```bash | ||
sudo install -m 0755 -d /etc/apt/keyrings | ||
``` | ||
|
||
```bash | ||
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc | ||
``` | ||
|
||
```bash | ||
sudo chmod a+r /etc/apt/keyrings/docker.asc | ||
``` | ||
|
||
```bash | ||
echo \ | ||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \ | ||
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ | ||
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | ||
``` | ||
|
||
```bash | ||
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 | ||
``` | ||
|
||
12. Add docker to sudoers | ||
|
||
```bash | ||
sudo groupadd docker | ||
``` | ||
|
||
```bash | ||
sudo gpasswd -a $USER docker | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters