Skip to content

Commit

Permalink
Merge pull request #264 from botpress/rk-bp-dev
Browse files Browse the repository at this point in the history
removed bp dev
  • Loading branch information
ptrckbp authored Apr 1, 2024
2 parents 4ee6b26 + 4490b91 commit a2b4c99
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
1 change: 0 additions & 1 deletion pages/developers/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Commands:
bp serve Serve your project locally
bp deploy Deploy your project to the cloud
bp add <integrationRef> Install an integration in your bot
bp dev Run your project in dev mode

Options:
--help Show help [boolean]
Expand Down
24 changes: 0 additions & 24 deletions pages/developers/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,6 @@ In this case, we are parsing the incoming request from telegram and extracting t

The channels object is used to implement the channels that the integration defined previously. In this case, we defined a channel named `group`, this will be used to send messages to a specific group channel in telegram. The `text` message type that we defined is implemented in the `messages` object. This function will be called every time the bot sends a `text` message to the `group` channel.

## Run the integration in dev mode

Run the integration in dev mode:

```bash
bp dev
```

This command will log an integration ID. Keep it, we'll need it later.

Bravo! You've just created your first integration. Now that we have defined, implemented and started the integration, we should be able to send and receive `text` messages from a bot.

## Develop the Bot

Expand Down Expand Up @@ -236,19 +225,6 @@ bot.message('', async ({ message, client, ctx }) => {

We have a parrot bot! Now, let's test it.

### Run the bot in dev mode

Run the bot in dev mode:

```bash
bp dev
```

## Iterate

At this point in time, you should have 2 different terminals running: one for the integration and one for the bot.

Both the integration and the bot are running locally within a process that watch source files for changes. This means that you can modify the integration and the bot and see the changes in real time.

## Deploy the Integration

Expand Down
1 change: 0 additions & 1 deletion pages/developers/howTo/build-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ These steps should be done for every integration you create and are not specific
"scripts": {
"version": "bp --version",
"login": "bp login",
"dev": "bp dev",
"gen": "bp gen",
"deploy": "bp deploy"
},
Expand Down

0 comments on commit a2b4c99

Please sign in to comment.