cody-web-experimental
v0.2.7
Published
Cody standalone web app
Downloads
6
Readme
Cody standalone web app
Status: experimental (currently is used by Sourcegraph Web client)
The cody-web-experimental
package implements a standalone web app/components for Cody Web.
To run demo standalone web app:
- Run
pnpm dev
- Then open http://localhost:5777 and enter a Sourcegraph.com access token.
If the demo app doesn't load, it could be because there's an invalid token stored in local storage or in your IndexDB.
To clear the token, open the browser dev tools and run localStorage.removeItem('accessToken')
.
To clear tokens in IndexDB, open browser dev tools and go to applications tab and clear
IndexDB tables for http://localhost:5777 domain.
How to run within Sourcegraph client
- Build
cody-web-experimental
package by runningpnpm build
- Register package local link with
pnpm link --global
- Go to the Sourcegraph repository and create a link with
pnpm link cody-web-experimental --global
- Run Sourcegraph
sg start
orsg start web-standalone