Skip to content

Commit b45c47e

Browse files
format CONTRIBUTING.md
1 parent 5df8b16 commit b45c47e

File tree

1 file changed

+37
-47
lines changed

1 file changed

+37
-47
lines changed

CONTRIBUTING.md

+37-47
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
Thank you for your interest in contributing to OpenAGI! We appreciate your efforts in helping us make human-like agents accessible to everyone. This guide outlines the steps to start contributing effectively.
44

5-
65
## Forking the Repository
76
To contribute to OpenAGI, you need to fork the repository and clone it locally. Follow these steps:
87

98
1. Navigate to the [OpenAGI repository](https://github.com/aiplanethub/openagi.git).
109
2. Click the **Fork** button in the top-right corner to create a personal copy of the repository.
1110
3. Clone the repository to your local machine:
12-
```bash
13-
git clone https://github.com/your-username/OpenAGI.git
14-
cd OpenAGI
15-
```
11+
12+
```bash
13+
git clone https://github.com/your-username/openagi.git
14+
cd openagi
15+
```
1616

1717
## Setting up Your Environment
1818
Once you have cloned the repository, set up a development environment to work on the code. Follow the instructions below to create and activate a virtual environment.
@@ -21,47 +21,35 @@ Once you have cloned the repository, set up a development environment to work on
2121

2222
1. Setup a virtual environment.
2323

24-
```bash
25-
# For Mac users
26-
python3 -m venv venv
27-
source venv/bin/activate
24+
```bash
25+
# For Mac users
26+
python3 -m venv venv
27+
source venv/bin/activate
2828

29-
# For Windows users
30-
python -m venv venv
31-
venv/scripts/activate
32-
33-
# to create virtual env using particular python version (in Windows)
34-
py -3.11 -m venv venv
35-
```
29+
# For Windows users
30+
python -m venv venv
31+
venv/scripts/activate
32+
```
3633

3734
2. Install the openagi
3835

39-
```bash
40-
pip install openagi
41-
```
42-
43-
## To setup your credentials
44-
45-
Follow this quick [installation guide](https://openagi.aiplanet.com/getting-started/installation) to complete the setup.
46-
47-
## Documentation
48-
49-
For more queries find documentation for OpenAGI at [openagi.aiplanet.com](https://openagi.aiplanet.com/)
50-
51-
## Understand OpenAGI
52-
53-
![Thumbnails](https://github.com/aiplanethub/openagi/blob/dev/assets/openagi.png)
54-
36+
```bash
37+
pip install openagi
38+
```
39+
or
40+
```bash
41+
git clone https://github.com/your-username/openagi.git
42+
pip install -e .
43+
```
5544

5645
## Making Changes
5746
Before making any changes to the codebase, follow these steps:
5847

59-
# Ensure you are on the correct branch:
60-
git checkout main
61-
62-
# Create a new branch for your changes:
63-
git checkout -b feature-branch-name
64-
48+
```bash
49+
git checkout main
50+
git checkout -b feature-branch-name
51+
```
52+
6553
Make your changes in the relevant directories (e.g., src, docs, cookbook, etc.). Be sure to follow the coding guidelines and maintain consistency with the project’s code style.
6654

6755
## Testing Your Changes
@@ -73,15 +61,17 @@ Before submitting your changes, it is crucial to ensure that your modifications
7361
## Submitting Your Pull Request
7462
Once you have tested your changes and everything is working correctly, submit your contribution by following these steps:
7563

76-
# Stage your changes:
77-
git add .
78-
79-
# Commit your changes with a meaningful commit message:
80-
git commit -m "Brief description of the changes made"
81-
82-
# Push your changes to your forked repository:
83-
git push origin feature-branch-name
84-
64+
```
65+
# Stage your changes:
66+
git add .
67+
68+
# Commit your changes with a meaningful commit message:
69+
git commit -m "Brief description of the changes made"
70+
71+
# Push your changes to your forked repository:
72+
git push origin feature-branch-name
73+
```
74+
8575
## Open a Pull Request (PR):
8676

8777
1. Navigate to the OpenAGI repository on GitHub.

0 commit comments

Comments
 (0)