Skip to content

Commit

Permalink
Update instructions to run a bun application via pm2 with the use… (
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcegr authored Oct 20, 2024
1 parent b9b94de commit ae8de19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/guides/ecosystem/pm2.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ Alternatively, you can create a PM2 configuration file. Create a file named `pm2
module.exports = {
name: "app", // Name of your application
script: "index.ts", // Entry point of your application
interpreter: "~/.bun/bin/bun", // Path to the Bun interpreter
interpreter: "bun", // Bun interpreter
env: {
PATH: `${process.env.HOME}/.bun/bin:${process.env.PATH}`, // Add "~/.bun/bin/bun" to PATH
}
};
```

Expand Down

0 comments on commit ae8de19

Please sign in to comment.