https://github.com/os-copilot/friday-front
https://github.com/os-copilot/friday-front
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/os-copilot/friday-front
- Owner: OS-Copilot
- Created: 2024-02-06T13:54:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-28T02:11:26.000Z (over 2 years ago)
- Last Synced: 2025-03-22T05:51:07.546Z (about 1 year ago)
- Language: JavaScript
- Size: 483 KB
- Stars: 20
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FRIDAY Front
## Usage
1. Make sure that OS-Copilot/FRIDAY is properly installed first;
```shell
git clone https://github.com/OS-Copilot/FRIDAY
cd FRIDAY/
pip install -r requirements.txt
```
2. Follow one of the following instructions:
- For developers, make sure Node.js (as well as npm) is installed:
```shell
git clone https://github.com/OS-Copilot/FRIDAY-front
cd FRIDAY-front/
npm install
touch .env
echo "REACT_APP_PATH=${FRIDAY_PATH}" >> .env
npm start
```
change `${FRIDAY_PATH}` to real absolute path;
- For deployer, make sure Node.js (as well as npm) is installed:
```shell
git clone https://github.com/OS-Copilot/FRIDAY-front
cd FRIDAY-front/
npm install
npm run build
touch dist/.env
echo "REACT_APP_PATH=${FRIDAY_PATH}" >> dist/.env
```
change `${FRIDAY_PATH}` to real absolute path;
## .env Config
- `REACT_APP_PATH` (**required**): absolute path of backend directory;
- `REACT_APP_PROXY` (optional): proxy URL used when executing python scripts;
- `REACT_APP_MIRROR` (optional): mirror site of Hugging Face.
## Prompts Examples
- Move the text files containing the word 'agent' from the folder named 'document' to the path 'working_dir/agent'.