Skip to content

Commit 1892fd0

Browse files
Added bun installation, new docker-network, and mentioned error messages (#477)
* Update mac-linux.md Added two more steps before the first limac command mentioned -install homebrew -install lima Signed-off-by: Khushi Trivedi <[email protected]> * Update samples-bunjs.md -added installation of bun -added potential error message Signed-off-by: Khushi Trivedi <[email protected]> * Creating new docker-network in file samples-bunjs.md Creating new docker network after installing bun dependencies. Signed-off-by: Khushi Trivedi <[email protected]> --------- Signed-off-by: Khushi Trivedi <[email protected]>
1 parent a60e7a8 commit 1892fd0

File tree

2 files changed

+34
-12
lines changed

2 files changed

+34
-12
lines changed

versioned_docs/version-2.0.0/keploy-explained/mac-linux.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,28 @@ sidebar_label: Keploy on MacOS native
99
### Downloading and running Keploy in Native using Debian on MacOS
1010

1111
1. Open the terminal Session.
12-
2. Run the following command
12+
2. Run the following command. This installs homebrew and makes it easier to manage software and packages on macOS
1313

14+
```bash
15+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
16+
```
17+
18+
3. Now, with the help of homebrew, we would install Lima (Linux Virtual Machine) by running this command.
19+
20+
```bash
21+
brew install lima
22+
```
23+
24+
4. Paste this command next.
25+
1426
```bash
1527
limactl show-ssh --format=config debian-12 & add it to its ssh config
1628
```
1729

18-
3. Open a remote window on your code editor
19-
4. Click on connect to host
20-
5. Now select the configured SSH as "lima-debian"
21-
6. Once you are in the terminal run the following commands to go into your directory
30+
5. Open a remote window on your code editor
31+
6. Click on connect to host
32+
7. Now select the configured SSH as "lima-debian"
33+
8. Once you are in the terminal run the following commands to go into your directory
2234

2335
```bash
2436
cd /Users
@@ -28,36 +40,36 @@ cd /Users
2840
cd /{Username}
2941
```
3042

31-
7. Run the following command to install Keploy
43+
9. Run the following command to install Keploy
3244

3345
```bash
3446
curl --silent --location "https://github.com/keploy/keploy/releases/latest/download/keploy_linux_arm64.tar.gz" | tar xz --overwrite -C /tmp
3547
sudo mkdir -p /usr/local/bin && sudo mv /tmp/keploy /usr/local/bin/keploy
3648
```
3749

38-
8. Run the following command to install Zsh
50+
10. Run the following command to install Zsh
3951

4052
```bash
4153
sudo apt-get -y install zsh
4254
```
4355

4456
**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.
4557

46-
9. Install Git
58+
11. Install Git
4759

4860
```bash
4961
sudo apt-get -y install git
5062
```
5163

52-
10. Install 'Oh-my-zsh'
64+
12. Install 'Oh-my-zsh'
5365

5466
```bash
5567
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
5668
```
5769

5870
**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.
5971

60-
11. Commands to Install docker
72+
13. Commands to Install docker
6173

6274
```bash
6375
sudo apt-get -y update
@@ -98,7 +110,7 @@ sudo apt-get -y update
98110
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
99111
```
100112

101-
12. Add docker to sudoers
113+
14. Add docker to sudoers
102114

103115
```bash
104116
sudo groupadd docker

versioned_docs/version-2.0.0/quickstart/samples-bunjs.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ import InstallationGuide from '../concepts/installation.md'
3636
```bash
3737
git clone https://github.com/keploy/samples-typescript && cd samples-typescript/bun-mongo
3838

39+
#Install bun using this command
40+
41+
curl -fsSL https://bun.sh/install | bash
42+
3943
# Install the dependencies
4044

4145
bun install
@@ -55,12 +59,18 @@ We'll be running our sample application right on Linux, but just to make things
5559

5660
### 📼 Roll the Tape - Recording Time!
5761

58-
To install the dependencies
62+
Install the dependencies. Note: using this command directly without installing bun might give an error like `zsh: command not found: bun`
5963

6064
```bash
6165
bun install
6266
```
6367

68+
This command will essentailly make a fresh docker-network named as `keploy-network `
69+
70+
```bash
71+
docker network create keploy-network
72+
```
73+
6474
Using the docker-compose file we will start our Postgres instance:-
6575

6676
```bash

0 commit comments

Comments
 (0)