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 71e8d103..ccfddff9 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 @@ -9,16 +9,28 @@ sidebar_label: Keploy on MacOS native ### Downloading and running Keploy in Native using Debian on MacOS 1. Open the terminal Session. -2. Run the following command +2. Run the following command. This installs homebrew and makes it easier to manage software and packages on macOS +```bash +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +``` + +3. Now, with the help of homebrew, we would install Lima (Linux Virtual Machine) by running this command. + +```bash +brew install lima +``` + +4. Paste this command next. + ```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 +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 ```bash cd /Users @@ -28,14 +40,14 @@ cd /Users cd /{Username} ``` -7. Run the following command to install Keploy +9. 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 +10. Run the following command to install Zsh ```bash sudo apt-get -y install zsh @@ -43,13 +55,13 @@ 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 +11. Install Git ```bash sudo apt-get -y install git ``` -10. Install 'Oh-my-zsh' +12. Install 'Oh-my-zsh' ```bash sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" @@ -57,7 +69,7 @@ sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/ins **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 +13. Commands to Install docker ```bash sudo apt-get -y update @@ -98,7 +110,7 @@ sudo apt-get -y update sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin ``` -12. Add docker to sudoers +14. Add docker to sudoers ```bash sudo groupadd docker 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 e6bf615a..427307b8 100644 --- a/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md +++ b/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md @@ -36,6 +36,10 @@ import InstallationGuide from '../concepts/installation.md' ```bash git clone https://github.com/keploy/samples-typescript && cd samples-typescript/bun-mongo +#Install bun using this command + +curl -fsSL https://bun.sh/install | bash + # Install the dependencies bun install @@ -55,12 +59,18 @@ We'll be running our sample application right on Linux, but just to make things ### 📼 Roll the Tape - Recording Time! -To install the dependencies +Install the dependencies. Note: using this command directly without installing bun might give an error like `zsh: command not found: bun` ```bash bun install ``` +This command will essentailly make a fresh docker-network named as `keploy-network ` + +```bash +docker network create keploy-network +``` + Using the docker-compose file we will start our Postgres instance:- ```bash