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 1. Go to `docker` folder at the root of the project
2. `docker-compose up -d` 2. `docker-compose up -d`
3. This will automatically spins up mongodb and flowise containers 3. Open [http://localhost:3000](http://localhost:3000)
4. Open [http://localhost:3000](http://localhost:3000) 4. You can bring the containers down by `docker-compose stop`
5. You can bring the containers down by `docker-compose stop`
## 👨‍💻 Developers ## 👨‍💻 Developers

View File

@ -3,7 +3,6 @@ FROM node:14.20.0-alpine
USER root USER root
RUN apk add --no-cache git 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 # You can install a specific version like: flowise@1.0.0
RUN npm install -g flowise RUN npm install -g flowise

View File

@ -1,14 +1,6 @@
version: '3.1' version: '3.1'
services: services:
mongo:
image: mongo
ports:
- '27017:27017'
restart: always
environment:
- MONGO_INITDB_DATABASE=flowiseai
flowise: flowise:
image: flowiseai/flowise image: flowiseai/flowise
restart: always restart: always
@ -16,8 +8,6 @@ services:
- PORT=${PORT} - PORT=${PORT}
ports: ports:
- '${PORT}:${PORT}' - '${PORT}:${PORT}'
links:
- mongo
volumes: volumes:
- ~/.flowise:/root/.flowise - ~/.flowise:/root/.flowise
command: /bin/sh -c "sleep 3; flowise start" 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 path from 'path'
import * as Server from '../index' import * as Server from '../index'
import * as DataSource from '../DataSource' import * as DataSource from '../DataSource'
@ -13,10 +13,6 @@ enum EXIT_CODE {
let processExitCode = EXIT_CODE.SUCCESS let processExitCode = EXIT_CODE.SUCCESS
export default class Start extends Command { export default class Start extends Command {
static flags = {
mongourl: Flags.string()
}
static args = [] static args = []
async stopProcess() { async stopProcess() {
@ -47,9 +43,6 @@ export default class Start extends Command {
console.error('uncaughtException: ', err) console.error('uncaughtException: ', err)
}) })
const { flags } = await this.parse(Start)
if (flags.mongourl) process.env.MONGO_URL = flags.mongourl
await (async () => { await (async () => {
try { try {
this.log('Starting Flowise...') this.log('Starting Flowise...')

View File

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