feat: Rename project to SpatialHub, update project names in configuration and documentation, and modify social links.
All checks were successful
Deploy to Production / deploy (push) Successful in 1m6s
All checks were successful
Deploy to Production / deploy (push) Successful in 1m6s
This commit is contained in:
4
.env
4
.env
@@ -13,8 +13,8 @@ FRONTEND_HOST=http://localhost:5173
|
|||||||
# Environment: local, staging, production
|
# Environment: local, staging, production
|
||||||
ENVIRONMENT=local
|
ENVIRONMENT=local
|
||||||
|
|
||||||
PROJECT_NAME="Full Stack FastAPI Project"
|
PROJECT_NAME="SpatialHub"
|
||||||
STACK_NAME=full-stack-fastapi-project
|
STACK_NAME=spatialhub
|
||||||
|
|
||||||
# Backend
|
# Backend
|
||||||
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
|
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Contributing
|
# 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
|
## Discussions First
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Full Stack FastAPI Template
|
# SpatialHub
|
||||||
|
|
||||||
<a href="https://github.com/fastapi/full-stack-fastapi-template/actions?query=workflow%3A%22Test+Docker+Compose%22" target="_blank"><img src="https://github.com/fastapi/full-stack-fastapi-template/workflows/Test%20Docker%20Compose/badge.svg" alt="Test Docker Compose"></a>
|
<a href="https://github.com/fastapi/full-stack-fastapi-template/actions?query=workflow%3A%22Test+Docker+Compose%22" target="_blank"><img src="https://github.com/fastapi/full-stack-fastapi-template/workflows/Test%20Docker%20Compose/badge.svg" alt="Test Docker Compose"></a>
|
||||||
<a href="https://github.com/fastapi/full-stack-fastapi-template/actions?query=workflow%3A%22Test+Backend%22" target="_blank"><img src="https://github.com/fastapi/full-stack-fastapi-template/workflows/Test%20Backend/badge.svg" alt="Test Backend"></a>
|
<a href="https://github.com/fastapi/full-stack-fastapi-template/actions?query=workflow%3A%22Test+Backend%22" target="_blank"><img src="https://github.com/fastapi/full-stack-fastapi-template/workflows/Test%20Backend/badge.svg" alt="Test Backend"></a>
|
||||||
@@ -230,4 +230,4 @@ Check the file [release-notes.md](./release-notes.md).
|
|||||||
|
|
||||||
## License
|
## 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.
|
||||||
|
|||||||
@@ -51,14 +51,14 @@ sudo chown $USER:$USER /opt/fastapi-app
|
|||||||
### 2.2 初始化 Git 仓库(在 Gitea 上)
|
### 2.2 初始化 Git 仓库(在 Gitea 上)
|
||||||
|
|
||||||
1. 登录 Gitea(`http://your-server-ip:3000`)
|
1. 登录 Gitea(`http://your-server-ip:3000`)
|
||||||
2. 创建新仓库,例如 `full-stack-fastapi`
|
2. 创建新仓库,例如 `spatialhub`
|
||||||
3. 在本地开发机上添加 Gitea 远程仓库:
|
3. 在本地开发机上添加 Gitea 远程仓库:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /Users/weifeng/Workspace/full-stack-fastapi-template
|
cd /Users/weifeng/Workspace/full-stack-fastapi-template
|
||||||
|
|
||||||
# 添加 Gitea 远程
|
# 添加 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
|
git push gitea main
|
||||||
@@ -130,7 +130,7 @@ ALTER DATABASE app OWNER TO fastapi_user;
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /opt/fastapi-app
|
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
|
git pull origin main
|
||||||
```
|
```
|
||||||
@@ -323,8 +323,8 @@ sudo systemctl status gitea-runner
|
|||||||
|-------------|-----|
|
|-------------|-----|
|
||||||
| `DOMAIN` | `makefire.fun` |
|
| `DOMAIN` | `makefire.fun` |
|
||||||
| `FRONTEND_HOST` | `https://makefire.fun` |
|
| `FRONTEND_HOST` | `https://makefire.fun` |
|
||||||
| `PROJECT_NAME` | `Full Stack FastAPI Project` |
|
| `PROJECT_NAME` | `SpatialHub` |
|
||||||
| `STACK_NAME` | `full-stack-fastapi-project` |
|
| `STACK_NAME` | `spatialhub` |
|
||||||
| `BACKEND_CORS_ORIGINS` | `https://makefire.fun,https://api.makefire.fun` |
|
| `BACKEND_CORS_ORIGINS` | `https://makefire.fun,https://api.makefire.fun` |
|
||||||
| `SECRET_KEY` | *(用 `openssl rand -hex 32` 生成)* |
|
| `SECRET_KEY` | *(用 `openssl rand -hex 32` 生成)* |
|
||||||
| `FIRST_SUPERUSER` | `admin@makefire.fun` |
|
| `FIRST_SUPERUSER` | `admin@makefire.fun` |
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Full Stack FastAPI Project</title>
|
<title>SpatialHub</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.png" />
|
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.png" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ import { FaXTwitter } from "react-icons/fa6"
|
|||||||
const socialLinks = [
|
const socialLinks = [
|
||||||
{
|
{
|
||||||
icon: FaGithub,
|
icon: FaGithub,
|
||||||
href: "https://github.com/fastapi/fastapi",
|
href: "https://makefire.fun",
|
||||||
label: "GitHub",
|
label: "GitHub",
|
||||||
},
|
},
|
||||||
{ icon: FaXTwitter, href: "https://x.com/fastapi", label: "X" },
|
{ icon: FaXTwitter, href: "https://makefire.fun", label: "X" },
|
||||||
{
|
{
|
||||||
icon: FaLinkedinIn,
|
icon: FaLinkedinIn,
|
||||||
href: "https://linkedin.com/company/fastapi",
|
href: "https://makefire.fun",
|
||||||
label: "LinkedIn",
|
label: "LinkedIn",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
@@ -22,7 +22,7 @@ export function Footer() {
|
|||||||
<footer className="border-t py-4 px-6">
|
<footer className="border-t py-4 px-6">
|
||||||
<div className="flex flex-col items-center justify-between gap-4 sm:flex-row">
|
<div className="flex flex-col items-center justify-between gap-4 sm:flex-row">
|
||||||
<p className="text-muted-foreground text-sm">
|
<p className="text-muted-foreground text-sm">
|
||||||
Full Stack FastAPI Template - {currentYear}
|
SpatialHub - {currentYear}
|
||||||
</p>
|
</p>
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
{socialLinks.map(({ icon: Icon, href, label }) => (
|
{socialLinks.map(({ icon: Icon, href, label }) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user