Skip to content

Commit 5e96c94

Browse files
authored
Merge pull request #3 from luandro/claude/update-app-branding-01RoWpv21kPMyztr3KSHv7Qb
Update app branding and repository name
2 parents 1bf5b85 + c0b2200 commit 5e96c94

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

.github/workflows/deploy-pr-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ jobs:
6666
with:
6767
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
6868
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
69-
command: pages deploy dist --project-name=geo-alert-commander --branch=pr-${{ github.event.pull_request.number }}
69+
command: pages deploy dist --project-name=comapeo-alerts-commander --branch=pr-${{ github.event.pull_request.number }}
7070

7171
- name: Generate deployment details
7272
id: deployment-info
7373
run: |
74-
PREVIEW_URL="https://pr-${{ github.event.pull_request.number }}.geo-alert-commander.pages.dev"
74+
PREVIEW_URL="https://pr-${{ github.event.pull_request.number }}.comapeo-alerts-commander.pages.dev"
7575
echo "preview-url=$PREVIEW_URL" >> $GITHUB_OUTPUT
7676
7777
# Extract deployment URL from Cloudflare output if available

.github/workflows/deploy-production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
5454
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
55-
command: pages deploy dist --project-name=geo-alert-commander --branch=${{ github.ref_name }}
55+
command: pages deploy dist --project-name=comapeo-alerts-commander --branch=${{ github.ref_name }}
5656

5757
- name: Generate deployment summary
5858
run: |

DEPLOYMENT.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Deployment Guide
22

3-
This guide provides step-by-step instructions for deploying Geo Alert Commander to Cloudflare Pages using GitHub Actions.
3+
This guide provides step-by-step instructions for deploying CoMapeo Alerts Commander to Cloudflare Pages using GitHub Actions.
44

55
## Overview
66

77
The project uses automated GitHub Actions workflows for deployment:
88

99
1. **Production Deployment** - Deploys to production on every push to `main`
10-
2. **PR Preview Deployment** - Creates preview deployments for pull requests at `https://pr-{number}.geo-alert-commander.pages.dev`
10+
2. **PR Preview Deployment** - Creates preview deployments for pull requests at `https://pr-{number}.comapeo-alerts-commander.pages.dev`
1111

1212
## Initial Setup
1313

@@ -16,7 +16,7 @@ The project uses automated GitHub Actions workflows for deployment:
1616
1. Log in to [Cloudflare Dashboard](https://dash.cloudflare.com/)
1717
2. Navigate to **Workers & Pages**
1818
3. Click **Create application** > **Pages**
19-
4. Name your project: `geo-alert-commander`
19+
4. Name your project: `comapeo-alerts-commander`
2020

2121
**Note:** You don't need to connect GitHub in Cloudflare - our GitHub Actions handle deployments via API.
2222

@@ -78,7 +78,7 @@ To use Mapbox in production:
7878
4. Deploys `dist/` to Cloudflare Pages
7979
5. Generates deployment summary
8080

81-
**Deployment URL:** `https://geo-alert-commander.pages.dev`
81+
**Deployment URL:** `https://comapeo-alerts-commander.pages.dev`
8282

8383
### PR Preview Deployment
8484

@@ -94,9 +94,9 @@ To use Mapbox in production:
9494
4. Posts/updates comment on PR with preview URL
9595
5. Cancels previous deployments for the same PR
9696

97-
**Preview URL:** `https://pr-{number}.geo-alert-commander.pages.dev`
97+
**Preview URL:** `https://pr-{number}.comapeo-alerts-commander.pages.dev`
9898

99-
**Example:** PR #42`https://pr-42.geo-alert-commander.pages.dev`
99+
**Example:** PR #42`https://pr-42.comapeo-alerts-commander.pages.dev`
100100

101101
## Manual Deployment
102102

@@ -121,10 +121,10 @@ wrangler login
121121
npm run build
122122

123123
# Deploy to Cloudflare Pages
124-
wrangler pages deploy dist --project-name=geo-alert-commander
124+
wrangler pages deploy dist --project-name=comapeo-alerts-commander
125125

126126
# Deploy to specific branch (for preview)
127-
wrangler pages deploy dist --project-name=geo-alert-commander --branch=my-feature
127+
wrangler pages deploy dist --project-name=comapeo-alerts-commander --branch=my-feature
128128
```
129129

130130
## Custom Domain Setup
@@ -179,7 +179,7 @@ wrangler pages deploy dist --project-name=geo-alert-commander --branch=my-featur
179179

180180
**GitHub Actions workflow failing:**
181181
- Verify secrets are set correctly in repository settings
182-
- Check Cloudflare Pages project name matches (`geo-alert-commander`)
182+
- Check Cloudflare Pages project name matches (`comapeo-alerts-commander`)
183183
- Ensure API token has correct permissions
184184
- Review workflow logs for specific errors
185185

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Geo Alert Commander
1+
# CoMapeo Alerts Commander
22

33
A Progressive Web App for creating and managing geographic alerts with interactive map integration. Built for the CoMapeo ecosystem, this application provides a mobile-first interface for field work and remote monitoring.
44

@@ -82,7 +82,7 @@ A Progressive Web App for creating and managing geographic alerts with interacti
8282
1. Clone the repository:
8383
```bash
8484
git clone <repository-url>
85-
cd geo-alert-commander
85+
cd comapeo-alerts-commander
8686
```
8787

8888
2. Install dependencies:
@@ -207,7 +207,7 @@ For detailed instructions, see [ICONS.md](./ICONS.md)
207207
## Project Structure
208208

209209
```
210-
geo-alert-commander/
210+
comapeo-alerts-commander/
211211
├── public/ # Static assets
212212
│ ├── icon.svg # Source icon (replace with your logo)
213213
│ ├── icon-*.png # Generated PWA icons (auto-generated)
@@ -314,14 +314,14 @@ This project uses GitHub Actions to automatically deploy to Cloudflare Pages.
314314

315315
**PR Preview Deployments:**
316316
- Automatically created for every pull request
317-
- Each PR gets a unique preview URL: `https://pr-{number}.geo-alert-commander.pages.dev`
317+
- Each PR gets a unique preview URL: `https://pr-{number}.comapeo-alerts-commander.pages.dev`
318318
- Preview updates automatically when you push new commits
319319
- Comments on PR with deployment status and preview URL
320320
- Forks cannot trigger deployments (security measure)
321321

322322
### Quick Setup
323323

324-
1. **Create a Cloudflare Pages project** named `geo-alert-commander`
324+
1. **Create a Cloudflare Pages project** named `comapeo-alerts-commander`
325325
2. **Get your Cloudflare credentials:**
326326
- Account ID (found in Cloudflare Dashboard)
327327
- API Token with `Cloudflare Pages:Edit` permission

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "vite_react_shadcn_ts",
2+
"name": "comapeo-alerts-commander",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",

src/hooks/useMapSearch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const useMapSearch = (
8282
`https://nominatim.openstreetmap.org/search?format=json&q=${encodeURIComponent(searchQuery)}&limit=1`,
8383
{
8484
headers: {
85-
"User-Agent": "GeoAlertCommander/1.0",
85+
"User-Agent": "CoMapeoAlertsCommander/1.0",
8686
},
8787
},
8888
);

0 commit comments

Comments
 (0)