InvokeAI/invokeai/frontend
psychedelicious f80a64a0f4
Reorganises internal state
`options` slice was huge and managed a mix of generation parameters and general app settings. It has been split up:

- Generation parameters are now in `generationSlice`.
- Postprocessing parameters are now in `postprocessingSlice`
- UI related things are now in `uiSlice`

There is probably more to be done, like `gallerySlice` perhaps should only manage internal gallery state, and not if the gallery is displayed.

Full-slice selectors have been made for each slice.

Other organisational tweaks.
2023-02-07 17:06:46 +01:00
..
dist Reorganises internal state 2023-02-07 17:06:46 +01:00
patches Various fixes 2023-01-30 18:42:17 -05:00
public/locales Reorganises internal state 2023-02-07 17:06:46 +01:00
src Reorganises internal state 2023-02-07 17:06:46 +01:00
.eslintrc.cjs Various fixes 2023-01-30 18:42:17 -05:00
.gitignore Various fixes 2023-01-30 18:42:17 -05:00
eslintconfig.json Various fixes 2023-01-30 18:42:17 -05:00
favicon.ico Various fixes 2023-01-30 18:42:17 -05:00
index.d.ts Various fixes 2023-01-30 18:42:17 -05:00
index.html Various fixes 2023-01-30 18:42:17 -05:00
package.json Various fixes 2023-01-30 18:42:17 -05:00
README.md Update README.md 2023-02-06 09:07:44 +11:00
stats.html Reorganises internal state 2023-02-07 17:06:46 +01:00
tsconfig.json Various fixes 2023-01-30 18:42:17 -05:00
tsconfig.node.json Various fixes 2023-01-30 18:42:17 -05:00
vite.config.ts Various fixes 2023-01-30 18:42:17 -05:00
yarn.lock Various fixes 2023-01-30 18:42:17 -05:00

InvokeAI UI dev setup

The UI is in invokeai/frontend.

Environment set up

Install node (includes npm) and yarn.

From invokeai/frontend/ run yarn install to get everything set up.

Dev

  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/

To build for dev: yarn build-dev

To build for production: yarn build