-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: rewrite docs use docusaurus (#853)
- Loading branch information
Showing
247 changed files
with
27,195 additions
and
14,877 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
Oops, something went wrong.