init medical training project
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
### 数据库迁移
|
||||
```bash
|
||||
python manage.py migrate
|
||||
```
|
||||
|
||||
### 创建管理员
|
||||
```bash
|
||||
python manage.py createsuperuser
|
||||
```
|
||||
|
||||
### 启动服务
|
||||
```bash
|
||||
python manage.py runserver
|
||||
```
|
||||
|
||||
### 访问 API 文档
|
||||
- Swagger UI: http://localhost:8000/api/docs/swagger/
|
||||
- ReDoc: http://localhost:8000/api/docs/redoc/
|
||||
- 管理后台: http://localhost:8000/admin/
|
||||
Reference in New Issue
Block a user