InvokeAI/invokeai/frontend/web
2023-03-03 14:47:01 -05:00
..
.husky all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.yarn/releases all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
dist merge localisation files that were added in main 2023-03-03 14:47:01 -05:00
patches all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
public/locales all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
src all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.babelrc all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.eslintignore all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.eslintrc.js all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.gitignore all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.prettierignore all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.prettierrc.js all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.yarnrc all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.yarnrc.yml all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
favicon.ico all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
index.d.ts all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
index.html all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
package.json fix issue with invokeai.version 2023-03-03 01:34:38 -05:00
README.md all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
stats.html all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
tsconfig.json all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
tsconfig.node.json all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
vite.config.ts all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
yarn.lock all files migrated; tweaks needed 2023-03-03 00:02:15 -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 --immutable 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