InvokeAI/invokeai/frontend/README.md

21 lines
538 B
Markdown
Raw Normal View History

2023-02-05 22:07:44 +00:00
# InvokeAI UI dev setup
2023-02-05 22:07:44 +00:00
The UI is in `invokeai/frontend`.
2023-02-05 22:07:44 +00:00
## Environment set up
2023-02-05 22:07:44 +00:00
Install [node](https://nodejs.org/en/download/) (includes npm) and
[yarn](https://yarnpkg.com/getting-started/install).
From `invokeai/frontend/` run `yarn install --immutable` to get everything set up.
2022-09-18 00:45:06 +00:00
## Dev
2023-02-05 22:07:44 +00:00
1. Start the dev server: `yarn dev`
2. Start the InvokeAI UI per usual: `invokeai --web`
3. Point your browser to the dev server address e.g. `http://localhost:5173/`
2023-02-05 22:07:44 +00:00
To build for dev: `yarn build-dev`
2023-02-07 11:08:00 +00:00
To build for production: `yarn build`