Official web platform for the AI & Machine Learning Club at Oriental College of Technology.
- Install dependencies:
npm install- Create local env file:
cp .env.example .env.local- Start the app:
npm run devnpm run lint
npm run lint:scripts
npm test
npm run buildUse .env.local (never commit it):
NEXT_PUBLIC_APPWRITE_ENDPOINTNEXT_PUBLIC_APPWRITE_PROJECT_IDNEXT_PUBLIC_APPWRITE_DATABASE_IDAPPWRITE_API_KEY
Optional script-only path variables:
IMAGE_PATHIMAGES_DIRFILES_DIRAPP_APK_PATHAPP_AAB_PATH
All Appwrite maintenance scripts now read credentials from environment and support CLI path args.
Windows (PowerShell):
$env:APPWRITE_API_KEY="your_key"
npx tsx scripts/upload-about-images.ts "D:\data\about-images"
npx tsx scripts/upload-apps.ts "D:\builds\AIML Club.apk" "D:\builds\AIML Club.aab"POSIX (bash/zsh):
APPWRITE_API_KEY="your_key" npx tsx scripts/upload-about-images.ts "/data/about-images"
APPWRITE_API_KEY="your_key" npx tsx scripts/sync-aanya.ts "/data/images/ananya.png"GitHub Actions workflow is defined in .github/workflows/ci.yml and runs:
- lint
- tests
- production build
- audit (moderate and above)