diff --git a/.env b/.env index 1d44286..e00d1dd 100644 --- a/.env +++ b/.env @@ -13,8 +13,8 @@ FRONTEND_HOST=http://localhost:5173 # Environment: local, staging, production ENVIRONMENT=local -PROJECT_NAME="Full Stack FastAPI Project" -STACK_NAME=full-stack-fastapi-project +PROJECT_NAME="SpatialHub" +STACK_NAME=spatialhub # Backend BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7e725a3..bcd8d35 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing -Thank you for your interest in contributing to the Full Stack FastAPI Template! 🙇 +Thank you for your interest in contributing to the SpatialHub! 🙇 ## Discussions First diff --git a/README.md b/README.md index a9049b4..e5422e9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Full Stack FastAPI Template +# SpatialHub Test Docker Compose Test Backend @@ -230,4 +230,4 @@ Check the file [release-notes.md](./release-notes.md). ## License -The Full Stack FastAPI Template is licensed under the terms of the MIT license. +The SpatialHub is licensed under the terms of the MIT license. diff --git a/deploy-tencent.md b/deploy-tencent.md index 18d6455..794d6db 100644 --- a/deploy-tencent.md +++ b/deploy-tencent.md @@ -51,14 +51,14 @@ sudo chown $USER:$USER /opt/fastapi-app ### 2.2 初始化 Git 仓库(在 Gitea 上) 1. 登录 Gitea(`http://your-server-ip:3000`) -2. 创建新仓库,例如 `full-stack-fastapi` +2. 创建新仓库,例如 `spatialhub` 3. 在本地开发机上添加 Gitea 远程仓库: ```bash cd /Users/weifeng/Workspace/full-stack-fastapi-template # 添加 Gitea 远程 -git remote add gitea http://your-server-ip:3000/your-username/full-stack-fastapi.git +git remote add gitea http://your-server-ip:3000/your-username/spatialhub.git # 推送代码 git push gitea main @@ -130,7 +130,7 @@ ALTER DATABASE app OWNER TO fastapi_user; ```bash cd /opt/fastapi-app -git clone http://localhost:3000/your-username/full-stack-fastapi.git . +git clone http://localhost:3000/your-username/spatialhub.git . # 或者如果已经有代码 git pull origin main ``` @@ -323,8 +323,8 @@ sudo systemctl status gitea-runner |-------------|-----| | `DOMAIN` | `makefire.fun` | | `FRONTEND_HOST` | `https://makefire.fun` | -| `PROJECT_NAME` | `Full Stack FastAPI Project` | -| `STACK_NAME` | `full-stack-fastapi-project` | +| `PROJECT_NAME` | `SpatialHub` | +| `STACK_NAME` | `spatialhub` | | `BACKEND_CORS_ORIGINS` | `https://makefire.fun,https://api.makefire.fun` | | `SECRET_KEY` | *(用 `openssl rand -hex 32` 生成)* | | `FIRST_SUPERUSER` | `admin@makefire.fun` | diff --git a/frontend/index.html b/frontend/index.html index 57621a2..815af2b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - Full Stack FastAPI Project + SpatialHub diff --git a/frontend/src/components/Common/Footer.tsx b/frontend/src/components/Common/Footer.tsx index 279e1e7..fedc2d1 100644 --- a/frontend/src/components/Common/Footer.tsx +++ b/frontend/src/components/Common/Footer.tsx @@ -4,13 +4,13 @@ import { FaXTwitter } from "react-icons/fa6" const socialLinks = [ { icon: FaGithub, - href: "https://github.com/fastapi/fastapi", + href: "https://makefire.fun", label: "GitHub", }, - { icon: FaXTwitter, href: "https://x.com/fastapi", label: "X" }, + { icon: FaXTwitter, href: "https://makefire.fun", label: "X" }, { icon: FaLinkedinIn, - href: "https://linkedin.com/company/fastapi", + href: "https://makefire.fun", label: "LinkedIn", }, ] @@ -22,7 +22,7 @@ export function Footer() {