Skip to content

Automattic/big-sky-agents-react

Repository files navigation

Big Sky Agents Standalone React Demo

This project was bootstrapped with Create React App and Craco.

It's an example of how to make a standalone React app that uses the Big Sky Agents NPM package.

Getting started

npm install
npm start

To test:

npm test

To build the app:

npm run build

To set the default OpenAI API key, put this in .env. It is important to include the REACT_APP_ prefix for the variable to be picked up by Create React App:

REACT_APP_OPENAI_API_KEY=sk-...

See the Create React App section about deployment for instructions on how to run in production.

Developing against a live version of the Big Sky Agents package

git clone git@github.com:Automattic/big-sky-agents.git
cd big-sky-agents
npm install
npm link
npm run dev # this will continuously build the package

Then, in this project:

npm install
npm link @automattic/big-sky-agents
npm start # this will launch the app on http://localhost:3000

About

Example React app running Big Sky Agents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •