chore: align migrations, docs, and frontends with crewli.app setup
- Replace dated migrations with ordered 2026_04_07_* chain; fold users update into base migration - Update OrganisationScope, AppServiceProvider, seeders, api routes, and .env.example - Refresh Cursor rules, CLAUDE.md, Makefile, README, and docs (API, SCHEMA, SETUP) - Adjust admin/app/portal HTML, packages, api-client, events types, and theme config - Update docker-compose and VS Code settings; remove stray Office lock files from resources Made-with: Cursor
This commit is contained in:
@@ -1,40 +1,23 @@
|
||||
# Customer Portal
|
||||
# Crewli — Portal SPA
|
||||
|
||||
This folder will contain the Customer Portal using Vuexy Vue.
|
||||
External-facing app for volunteers (login) and artists/suppliers (token links). Stripped Vuexy layout; same stack as other apps.
|
||||
|
||||
## Setup
|
||||
|
||||
1. Copy Vuexy Vue **starter-kit** (TypeScript) here:
|
||||
|
||||
```bash
|
||||
cp -r /path/to/vuexy/typescript-version/starter-kit/* .
|
||||
```
|
||||
|
||||
2. Install dependencies:
|
||||
1. Install dependencies:
|
||||
|
||||
```bash
|
||||
pnpm install
|
||||
```
|
||||
|
||||
3. Create `.env.local`:
|
||||
2. Create `.env.local`:
|
||||
|
||||
```env
|
||||
VITE_API_URL=http://localhost:8000/api/v1
|
||||
VITE_APP_NAME="Customer Portal"
|
||||
VITE_APP_NAME="Crewli Portal"
|
||||
```
|
||||
|
||||
4. Update `vite.config.ts` to use port 5175:
|
||||
|
||||
```typescript
|
||||
export default defineConfig({
|
||||
// ... existing config
|
||||
server: {
|
||||
port: 5175,
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
5. Start development:
|
||||
3. Dev server uses port **5175** (see `vite.config.ts` or run from repo root: `make portal`).
|
||||
|
||||
```bash
|
||||
pnpm dev --port 5175
|
||||
@@ -43,3 +26,5 @@ pnpm dev --port 5175
|
||||
## Port
|
||||
|
||||
Runs on http://localhost:5175
|
||||
|
||||
**Production:** e.g. `VITE_API_URL=https://api.crewli.app/api/v1` and host the SPA at `https://portal.crewli.app` (portal links in emails use this host; see `api/.env.example`).
|
||||
|
||||
Reference in New Issue
Block a user