Skip to content

Commit

Permalink
Merge pull request OpenBMB#182 from Raff-dev/wiki
Browse files Browse the repository at this point in the history
docs: Update wiki.md to refer to README.md quickstart instructions
  • Loading branch information
thinkwee authored Oct 23, 2023
2 parents d49f0a1 + 9a518ef commit be2d71e
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions wiki.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,7 @@

### 1. Install `ChatDev`:

- **Clone the GitHub Repository:** Begin by cloning the repository using the command:
```
git clone https://github.com/OpenBMB/ChatDev.git
```
- **Set Up Python Environment:** Ensure you have a Python environment of version 3.9 or higher. You can create and
activate this environment using the following commands, replacing `ChatDev_conda_env` with your preferred environment
name:
```
conda create -n ChatDev_conda_env python=3.9 -y
conda activate ChatDev_conda_env
```
- **Install Dependencies:** Move into the `ChatDev` directory and install the necessary dependencies by running:
```
cd ChatDev
pip3 install -r requirements.txt
```
- **Set OpenAI API Key:** Export your OpenAI API key as an environment variable. Replace `"your_OpenAI_API_key"` with
your actual API key. Remember that this environment variable is session-specific, so you'll need to set it again if
you open a new terminal session.
On Unix/Linux:
```
export OPENAI_API_KEY="your_OpenAI_API_key"
```
On Windows:
```
$env:OPENAI_API_KEY="your_OpenAI_API_key"
```
- Visit the [quickstart section](README.md#⚡️-quickstart) of readme for installation instructions.

### 2. Start building software in one command:

Expand All @@ -45,9 +19,9 @@

```commandline
usage: run.py [-h] [--config CONFIG] [--org ORG] [--task TASK] [--name NAME] [--model MODEL]
argparse
optional arguments:
-h, --help show this help message and exit
--config CONFIG Name of config, which is used to load configuration under CompanyConfig/; Please see CompanyConfig Section below
Expand Down

0 comments on commit be2d71e

Please sign in to comment.