Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xie392/knowtrail
知识库
https://github.com/xie392/knowtrail
Last synced: 14 days ago
JSON representation
知识库
- Host: GitHub
- URL: https://github.com/xie392/knowtrail
- Owner: xie392
- Created: 2023-11-06T03:50:40.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-28T14:24:32.000Z (8 months ago)
- Last Synced: 2024-10-28T08:11:21.847Z (about 2 months ago)
- Language: TypeScript
- Size: 7.68 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 知迹
这是本人的毕业设计,一个知识管理系统。
# 运行
## docker 运行 mysql
首次运行,可以运行一下 docker 命令:
```shell
docker run --name knowTrail -e MYSQL_ROOT_PASSWORD=123456 -e MYSQL_DATABASE=know-test -p 3306:3306 -d mysql:latest
```查看是否运行成功:
```shell
docker ps
```如果看到 knowTrail 这个容器,说明运行成功。
除了docker,你可以自己选择安装mysql,然后修改配置文件中的数据库配置。配置目录在 `server/config/dev.yml`。
## 启动服务
```shell
cd client
npm install
npm run dev
```## 启动服务端
```shell
cd server
npm install
npm run start:dev
```