mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
feat: Add crewai install to the docs and force now crewai run
This commit is contained in:
@@ -109,8 +109,7 @@ To install the dependencies for your project, use Poetry:
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ cd <project_name>
|
$ cd <project_name>
|
||||||
$ poetry lock
|
$ crewai install
|
||||||
$ poetry install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running Your Pipeline Project
|
## Running Your Pipeline Project
|
||||||
@@ -121,12 +120,6 @@ To run your pipeline project, use the following command:
|
|||||||
$ crewai run
|
$ crewai run
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
```shell
|
|
||||||
$ poetry run <project_name>
|
|
||||||
```
|
|
||||||
|
|
||||||
This will initialize your pipeline and begin task execution as defined in your `main.py` file.
|
This will initialize your pipeline and begin task execution as defined in your `main.py` file.
|
||||||
|
|
||||||
## Deploying Your Pipeline Project
|
## Deploying Your Pipeline Project
|
||||||
|
|||||||
@@ -191,8 +191,7 @@ To install the dependencies for your project, you can use Poetry. First, navigat
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ cd my_project
|
$ cd my_project
|
||||||
$ poetry lock
|
$ crewai install
|
||||||
$ poetry install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
This will install the dependencies specified in the `pyproject.toml` file.
|
This will install the dependencies specified in the `pyproject.toml` file.
|
||||||
@@ -233,11 +232,6 @@ To run your project, use the following command:
|
|||||||
```shell
|
```shell
|
||||||
$ crewai run
|
$ crewai run
|
||||||
```
|
```
|
||||||
or
|
|
||||||
```shell
|
|
||||||
$ poetry run my_project
|
|
||||||
```
|
|
||||||
|
|
||||||
This will initialize your crew of AI agents and begin task execution as defined in your configuration in the `main.py` file.
|
This will initialize your crew of AI agents and begin task execution as defined in your configuration in the `main.py` file.
|
||||||
|
|
||||||
### Replay Tasks from Latest Crew Kickoff
|
### Replay Tasks from Latest Crew Kickoff
|
||||||
|
|||||||
@@ -14,12 +14,9 @@ pip install poetry
|
|||||||
|
|
||||||
Next, navigate to your project directory and install the dependencies:
|
Next, navigate to your project directory and install the dependencies:
|
||||||
|
|
||||||
1. First lock the dependencies and then install them:
|
1. First lock the dependencies and install them by using the CLI command:
|
||||||
```bash
|
```bash
|
||||||
poetry lock
|
crewai install
|
||||||
```
|
|
||||||
```bash
|
|
||||||
poetry install
|
|
||||||
```
|
```
|
||||||
### Customizing
|
### Customizing
|
||||||
|
|
||||||
@@ -37,10 +34,6 @@ To kickstart your crew of AI agents and begin task execution, run this from the
|
|||||||
```bash
|
```bash
|
||||||
$ crewai run
|
$ crewai run
|
||||||
```
|
```
|
||||||
or
|
|
||||||
```bash
|
|
||||||
poetry run {{folder_name}}
|
|
||||||
```
|
|
||||||
|
|
||||||
This command initializes the {{name}} Crew, assembling the agents and assigning them tasks as defined in your configuration.
|
This command initializes the {{name}} Crew, assembling the agents and assigning them tasks as defined in your configuration.
|
||||||
|
|
||||||
|
|||||||
@@ -17,11 +17,7 @@ Next, navigate to your project directory and install the dependencies:
|
|||||||
1. First lock the dependencies and then install them:
|
1. First lock the dependencies and then install them:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
poetry lock
|
crewai install
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
poetry install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Customizing
|
### Customizing
|
||||||
@@ -38,7 +34,7 @@ poetry install
|
|||||||
To kickstart your crew of AI agents and begin task execution, run this from the root folder of your project:
|
To kickstart your crew of AI agents and begin task execution, run this from the root folder of your project:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
poetry run {{folder_name}}
|
crewai run
|
||||||
```
|
```
|
||||||
|
|
||||||
This command initializes the {{name}} Crew, assembling the agents and assigning them tasks as defined in your configuration.
|
This command initializes the {{name}} Crew, assembling the agents and assigning them tasks as defined in your configuration.
|
||||||
|
|||||||
@@ -16,10 +16,7 @@ Next, navigate to your project directory and install the dependencies:
|
|||||||
|
|
||||||
1. First lock the dependencies and then install them:
|
1. First lock the dependencies and then install them:
|
||||||
```bash
|
```bash
|
||||||
poetry lock
|
crewai install
|
||||||
```
|
|
||||||
```bash
|
|
||||||
poetry install
|
|
||||||
```
|
```
|
||||||
### Customizing
|
### Customizing
|
||||||
|
|
||||||
@@ -35,7 +32,7 @@ poetry install
|
|||||||
To kickstart your crew of AI agents and begin task execution, run this from the root folder of your project:
|
To kickstart your crew of AI agents and begin task execution, run this from the root folder of your project:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
poetry run {{folder_name}}
|
crewai run
|
||||||
```
|
```
|
||||||
|
|
||||||
This command initializes the {{name}} Crew, assembling the agents and assigning them tasks as defined in your configuration.
|
This command initializes the {{name}} Crew, assembling the agents and assigning them tasks as defined in your configuration.
|
||||||
|
|||||||
Reference in New Issue
Block a user