-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/pip/openai-0.28.0
- Loading branch information
Showing
11 changed files
with
358 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: "🌐 Community" | ||
layout: page | ||
nav_order: 4 | ||
nav_order: 5 | ||
--- | ||
|
||
# 🌐 Community | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: "👷 Development" | ||
layout: page | ||
nav_order: 2 | ||
has_children: true | ||
--- | ||
|
||
# 👷 Development | ||
|
||
The `test_server.py` script included in this repository serves as a lightweight, local development server for Chat²GPT. This enables you to test new features, debug issues, or get a firsthand experience of the chatbot's capabilities without deploying it to a production environment. Running the test server starts a web service that you can access at [http://127.0.0.1:5000](http://127.0.0.1:5000). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
layout: default | ||
title: macOS | ||
parent: 👷 Development | ||
nav_order: 2 | ||
--- | ||
|
||
## macOS 🍎 | ||
|
||
To run Chat²GPT on macOS, you can use Homebrew to manage your packages. Follow these steps: | ||
|
||
1. **Install Homebrew** | ||
|
||
If you don't have Homebrew installed, open Terminal and run: | ||
|
||
```bash | ||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
``` | ||
|
||
2. **Install Python** | ||
|
||
Install Python using Homebrew: | ||
|
||
```bash | ||
brew install python | ||
``` | ||
|
||
3. **Clone the Repository** | ||
|
||
Clone the Chat²GPT repository: | ||
|
||
```bash | ||
git clone https://github.com/RAHB-REALTORS-Association/chat2gpt.git | ||
``` | ||
|
||
Navigate to the cloned directory: | ||
|
||
```bash | ||
cd chat2gpt | ||
``` | ||
|
||
4. **Install Python Packages** | ||
|
||
Install the required Python packages: | ||
|
||
```bash | ||
pip3 install -r requirements.txt | ||
``` | ||
|
||
5. **Run the Test Server** | ||
|
||
Start the Chat²GPT server: | ||
|
||
```bash | ||
python3 test_server.py | ||
``` | ||
|
||
The server should start successfully and can be accessed at [http://127.0.0.1:5000](http://127.0.0.1:5000). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
layout: default | ||
title: Android | ||
parent: 👷 Development | ||
nav_order: 3 | ||
--- | ||
|
||
## Android 🤖 | ||
|
||
To run Chat²GPT on an Android device using Termux, follow these steps: | ||
|
||
1. **Update and Upgrade Termux Packages** | ||
|
||
Open Termux and run the following command to update and upgrade existing packages: | ||
|
||
```bash | ||
pkg upgrade | ||
``` | ||
|
||
2. **Install Required Dependencies** | ||
|
||
Install the necessary packages like OpenSSL, Python, pip, Git, Rust, and Binutils by executing: | ||
|
||
```bash | ||
pkg install openssl python python-pip git rust binutils | ||
``` | ||
|
||
3. **Clone the Repository** | ||
|
||
Use the `git` command to clone the Chat²GPT repository to your device: | ||
|
||
```bash | ||
git clone https://github.com/RAHB-REALTORS-Association/chat2gpt.git | ||
``` | ||
|
||
Navigate to the cloned directory: | ||
|
||
```bash | ||
cd chat2gpt | ||
``` | ||
|
||
4. **Install Python Packages** | ||
|
||
Run the following command to install the Python packages required for Chat²GPT: | ||
|
||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
|
||
5. **Run the Test Server** | ||
|
||
Finally, start the Chat²GPT server using the `python` command: | ||
|
||
```bash | ||
python test_server.py | ||
``` | ||
|
||
The server should start successfully and can be accessed at [http://127.0.0.1:5000](http://127.0.0.1:5000). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
layout: default | ||
title: Ubuntu | ||
parent: 👷 Development | ||
nav_order: 1 | ||
--- | ||
|
||
## Ubuntu 🤓 | ||
|
||
To run Chat²GPT on Ubuntu, follow these steps: | ||
|
||
1. **Update Packages** | ||
|
||
Open Terminal and update your package list: | ||
|
||
```bash | ||
sudo apt update | ||
``` | ||
|
||
2. **Install Required Dependencies** | ||
|
||
Install Python and other necessary packages: | ||
|
||
```bash | ||
sudo apt install python3 python3-pip git | ||
``` | ||
|
||
3. **Clone the Repository** | ||
|
||
Clone the Chat²GPT repository: | ||
|
||
```bash | ||
git clone https://github.com/RAHB-REALTORS-Association/chat2gpt.git | ||
``` | ||
|
||
Navigate to the cloned directory: | ||
|
||
```bash | ||
cd chat2gpt | ||
``` | ||
|
||
4. **Install Python Packages** | ||
|
||
Install the required Python packages: | ||
|
||
```bash | ||
pip3 install -r requirements.txt | ||
``` | ||
|
||
5. **Run the Test Server** | ||
|
||
Start the Chat²GPT server: | ||
|
||
```bash | ||
python3 test_server.py | ||
``` | ||
|
||
The server should start successfully and can be accessed at [http://127.0.0.1:5000](http://127.0.0.1:5000). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.