update README

This commit is contained in:
Henry 2023-04-10 20:29:55 +01:00
parent c576ea5b67
commit 2831526c72
5 changed files with 4 additions and 23 deletions

View File

@ -25,9 +25,8 @@ Drag & drop UI to build your customized LLM flow using [LangchainJS](https://git
1. Go to `docker` folder at the root of the project
2. `docker-compose up -d`
3. This will automatically spins up mongodb and flowise containers
4. Open [http://localhost:3000](http://localhost:3000)
5. You can bring the containers down by `docker-compose stop`
3. Open [http://localhost:3000](http://localhost:3000)
4. You can bring the containers down by `docker-compose stop`
## 👨‍💻 Developers

View File

@ -3,7 +3,6 @@ FROM node:14.20.0-alpine
USER root
RUN apk add --no-cache git
RUN apk add --no-cache python3 py3-pip
# You can install a specific version like: flowise@1.0.0
RUN npm install -g flowise

View File

@ -1,14 +1,6 @@
version: '3.1'
services:
mongo:
image: mongo
ports:
- '27017:27017'
restart: always
environment:
- MONGO_INITDB_DATABASE=flowiseai
flowise:
image: flowiseai/flowise
restart: always
@ -16,8 +8,6 @@ services:
- PORT=${PORT}
ports:
- '${PORT}:${PORT}'
links:
- mongo
volumes:
- ~/.flowise:/root/.flowise
command: /bin/sh -c "sleep 3; flowise start"

View File

@ -1,4 +1,4 @@
import { Command, Flags } from '@oclif/core'
import { Command } from '@oclif/core'
import path from 'path'
import * as Server from '../index'
import * as DataSource from '../DataSource'
@ -13,10 +13,6 @@ enum EXIT_CODE {
let processExitCode = EXIT_CODE.SUCCESS
export default class Start extends Command {
static flags = {
mongourl: Flags.string()
}
static args = []
async stopProcess() {
@ -47,9 +43,6 @@ export default class Start extends Command {
console.error('uncaughtException: ', err)
})
const { flags } = await this.parse(Start)
if (flags.mongourl) process.env.MONGO_URL = flags.mongourl
await (async () => {
try {
this.log('Starting Flowise...')

View File

@ -1,6 +1,6 @@
{
"name": "flowise-ui",
"version": "1.0.1",
"version": "1.0.0",
"license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://flowiseai.com",
"author": {