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 @@
|
||||
# Band Portal
|
||||
# Crewli — Organizer SPA
|
||||
|
||||
This folder will contain the Band Member Portal using Vuexy Vue.
|
||||
Main product UI for organisation and event staff (Vue 3 + Vuexy + Vuetify). Lives in this repo; only re-copy from Vuexy when upgrading the template.
|
||||
|
||||
## 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="Band Portal"
|
||||
VITE_APP_NAME="Crewli Organizer"
|
||||
```
|
||||
|
||||
4. Update `vite.config.ts` to use port 5174:
|
||||
|
||||
```typescript
|
||||
export default defineConfig({
|
||||
// ... existing config
|
||||
server: {
|
||||
port: 5174,
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
5. Start development:
|
||||
3. Dev server uses port **5174** (see `vite.config.ts` or run from repo root: `make app`).
|
||||
|
||||
```bash
|
||||
pnpm dev --port 5174
|
||||
@@ -43,3 +26,5 @@ pnpm dev --port 5174
|
||||
## Port
|
||||
|
||||
Runs on http://localhost:5174
|
||||
|
||||
**Production:** e.g. `VITE_API_URL=https://api.crewli.app/api/v1` and host the SPA at `https://app.crewli.app` (see `api/.env.example` for `FRONTEND_APP_URL` and `SANCTUM_STATEFUL_DOMAINS`).
|
||||
|
||||
Reference in New Issue
Block a user