mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Updates frontend README.md (#2539)
This commit is contained in:
commit
466a82bcc2
@ -1,28 +1,20 @@
|
|||||||
# Stable Diffusion Web UI
|
# InvokeAI UI dev setup
|
||||||
|
|
||||||
## Run
|
The UI is in `invokeai/frontend`.
|
||||||
|
|
||||||
- `python scripts/dream.py --web` serves both frontend and backend at
|
## Environment set up
|
||||||
http://localhost:9090
|
|
||||||
|
|
||||||
## Evironment
|
Install [node](https://nodejs.org/en/download/) (includes npm) and
|
||||||
|
|
||||||
Install [node](https://nodejs.org/en/download/) (includes npm) and optionally
|
|
||||||
[yarn](https://yarnpkg.com/getting-started/install).
|
[yarn](https://yarnpkg.com/getting-started/install).
|
||||||
|
|
||||||
From `frontend/` run `npm install` / `yarn install` to install the frontend
|
From `invokeai/frontend/` run `yarn install` to get everything set up.
|
||||||
packages.
|
|
||||||
|
|
||||||
## Dev
|
## Dev
|
||||||
|
|
||||||
1. From `frontend/`, run `npm dev` / `yarn dev` to start the dev server.
|
1. Start the dev server: `yarn dev`
|
||||||
2. Run `python scripts/dream.py --web`.
|
2. Start the InvokeAI UI per usual: `invokeai --web`
|
||||||
3. Navigate to the dev server address e.g. `http://localhost:5173/`.
|
3. Point your browser to the dev server address e.g. `http://localhost:5173/`
|
||||||
|
|
||||||
To build for dev: `npm build-dev` / `yarn build-dev`
|
To build for dev: `yarn build-dev`
|
||||||
|
|
||||||
To build for production: `npm build` / `yarn build`
|
To build for production: `yarn build`
|
||||||
|
|
||||||
## TODO
|
|
||||||
|
|
||||||
- Search repo for "TODO"
|
|
Loading…
x
Reference in New Issue
Block a user