update readme and vite port

This commit is contained in:
Henry
2023-11-27 12:24:11 +00:00
parent 8ce32179ee
commit 4e3f219e2d
11 changed files with 41 additions and 34 deletions
+7 -7
View File
@@ -75,9 +75,9 @@ Flowise has 3 different modules in a single mono repository.
### Prerequisite
- Install [Yarn v1](https://classic.yarnpkg.com/en/docs/install)
- Install [Yarn v1](https://pnpm.io/installation)
```bash
npm i -g yarn
npm i -g pnpm
```
### Setup
@@ -97,31 +97,31 @@ Flowise has 3 different modules in a single mono repository.
3. Install all dependencies of all modules:
```bash
yarn install
pnpm install
```
4. Build all the code:
```bash
yarn build
pnpm build
```
5. Start the app:
```bash
yarn start
pnpm start
```
You can now access the app on [http://localhost:3000](http://localhost:3000)
6. For development build:
- Create `.env` file and specify the `PORT` (refer to `.env.example`) in `packages/ui`
- Create `.env` file and specify the `VITE_PORT` (refer to `.env.example`) in `packages/ui`
- Create `.env` file and specify the `PORT` (refer to `.env.example`) in `packages/server`
- Run
```bash
yarn dev
pnpm dev
```
Any code changes will reload the app automatically on [http://localhost:8080](http://localhost:8080)