|
|
il y a 2 ans | |
|---|---|---|
| .. | ||
| .vscode | il y a 2 ans | |
| patches | il y a 2 ans | |
| public | il y a 2 ans | |
| src | il y a 2 ans | |
| test | il y a 2 ans | |
| typings | il y a 2 ans | |
| view | il y a 2 ans | |
| .dockerignore | il y a 2 ans | |
| .editorconfig | il y a 2 ans | |
| .eslintrc.json | il y a 2 ans | |
| .gitattributes | il y a 2 ans | |
| .gitignore | il y a 2 ans | |
| .hintrc | il y a 2 ans | |
| .prettierrc.js | il y a 2 ans | |
| Dockerfile | il y a 2 ans | |
| LICENSE | il y a 2 ans | |
| README.md | il y a 2 ans | |
| bootstrap.js | il y a 2 ans | |
| docker-compose.yml | il y a 2 ans | |
| jest.config.js | il y a 2 ans | |
| package.json | il y a 2 ans | |
| tsconfig.json | il y a 2 ans | |
在pg数据库中创建一个贴合实际项目名称的数据库名称
1. 修改src/config/config.default.ts中的端口,改成实际用的端口,如果后台有文件上传,也需要改file的端口
2. 修改src/config/config.local.ts中的database的名称,改成项目创建的数据库名称
3. 修改src/config/config.prod.ts中的database的名称,改成项目创建的数据库名称
1. npm install
2. npm run dev
3. npm run build