InvokeAI/invokeai/frontend
psychedelicious 9ad76fe80c Updates code quality tooling and formats codebase
- `eslint` and `prettier` configs
- `husky` to format and lint via pre-commit hook
- `babel-plugin-transform-imports` to treeshake `lodash` and other packages if needed

Lints and formats codebase.
2023-02-08 01:53:34 +13:00
..
.husky Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
dist Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
patches Various fixes 2023-01-30 18:42:17 -05:00
public/locales Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
src Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
.babelrc Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
.eslintignore Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
.eslintrc.cjs Various fixes 2023-01-30 18:42:17 -05:00
.eslintrc.js Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
.gitignore Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
.prettierignore Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
.prettierrc.js Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13: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 Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
README.md Update README.md 2023-02-06 09:07:44 +11:00
stats.html Reorganises internal state 2023-02-08 01:53:34 +13: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 Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13:00
yarn.lock Updates code quality tooling and formats codebase 2023-02-08 01:53:34 +13: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