Skip to content

Commit

Permalink
docs: rewrite docs use docusaurus (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
csunny authored Nov 27, 2023
1 parent cd528b3 commit 20aac63
Show file tree
Hide file tree
Showing 247 changed files with 27,195 additions and 14,877 deletions.
22 changes: 0 additions & 22 deletions .readthedocs.yaml

This file was deleted.

25 changes: 25 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

.idea
/bk

.history
12 changes: 12 additions & 0 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:lts

WORKDIR /app
COPY . /app

RUN yarn install

RUN npm run build

EXPOSE 3000

CMD ["npm", "run", "serve"]
20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

25 changes: 25 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# DB-GPT Website

## Quick Start

### Install dependencies
- Clone current project firstly!
- Install docusaurus dependencies, generate node_modules folder.

```
sudo yarn install
```

### launch
```
yarn start
```

The default service starts on port `3000`, visit `localhost:3000`

## Docker development

```commandline
docker build -t dbgptweb .
docker run --restart=unless-stopped -d -p 3000:3000 dbgptweb
```
Loading

0 comments on commit 20aac63

Please sign in to comment.