# python-web **Repository Path**: chen-xun23/python-web ## Basic Information - **Project Name**: python-web - **Description**: python的web框架fastapi学习 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-07-25 - **Last Updated**: 2026-07-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 简易的命令行入门教程: ## Git 全局设置: ``` git config --global user.name "陈勋" git config --global user.email "m15812424616@163.com" ``` ## 创建 git 仓库: ``` mkdir python-web cd python-web git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/chen-xun23/python-web.git git push -u origin "master" ``` ## 已有仓库? ``` cd existing_git_repo git remote add origin https://gitee.com/chen-xun23/python-web.git git push -u origin "master" ``` ## docker 部署命令 ``` docker run -d \ --name duyi-service \ -p 80:8080 \ -e COMMON_ENVIRONMENT=production \ -e WEB_APP_NAME=个人API接口 \ -e WEB_CORS_ORIGINS=www.duyi.com \ -e WEB_CORS_EXPOSE_HEADERS=X-Process-Time \ -e WEB_JWT_SECRET_KEY=8f231a2b3c4d5e6f444b9c0d1e2f3a4b \ -e DB_HOST=192.168.8.252 \ -e DB_PORT=5432 \ -e DB_NAME=duyi_prod_db \ -e DB_USER=admin \ -e DB_PASSWORD=123123 \ -e LOG_LEVEL=INFO \ -e LOG_SLOW_QUERY_THRESHOLD=200 \ --restart unless-stopped \ --memory=512m \ --cpus=1 \ duyi-service:latest ```