Skip to content

OS-Copilot/FRIDAY-front

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FRIDAY Front

Usage

  1. Make sure that OS-Copilot/FRIDAY is properly installed first;

    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:

      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:

      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'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published