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:
@@ -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` |
|
||||
|
||||
Reference in New Issue
Block a user