본문으로 건너뛰기
cccskills
무료GitHub에 공개

setup-deployment

Complete setup and deployment workflow for Next.js applications with Prisma, Capacitor mobile apps, and production hosting. Use when the user wants to set up a new project, deploy to production, configure environments, run database migrations, or prepare an app for release. Triggers on: "setup the app", "deploy the app", "install dependencies", "run migrations", "configure environment", "build for production", "capacitor sync", "prepare for release", "run the setup script".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation스타 5(GitHub 5 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Setup & Deployment

This skill covers the complete setup, configuration, and deployment workflow for Next.js applications with Prisma ORM, Capacitor mobile apps, and production hosting.

Setup Script

The interactive setup script (setup.ps1) provides a menu-driven workflow:

# Run the setup wizard
.\setup.ps1

# Or run specific steps manually
npm install                    # Install all dependencies
npx prisma generate           # Generate Prisma client
npx prisma db push           # Push schema to database (dev)
npx prisma migrate deploy    # Run migrations (prod)
npm run build                # Production build
npx cap sync                 # Sync Capacitor projects

Database Setup

Option 1: Docker (Local Development)

docker-compose up -d
# Database available at: postgresql://postgres:postgres@localhost:5432/massage_connect

Option 2: Supabase (Recommended for Production)

  1. Create project at https://supabase.com/dashboard
  2. Copy connection string from Settings > Database
  3. Update .env.local:
DATABASE_URL="postgresql://postgres.[PROJECT_REF]:[PASSWORD]@aws-0-[REGION].pooler.supabase.com:5432/postgres"

Option 3: Neon

  1. Create project at https://neon.tech
  2. Copy connection string
  3. Update .env.local

Environment Configuration

Create .env.local from template:

cp .env.example .env.local

Required variables:

DATABASE_URL="postgresql://..."
JWT_SECRET="your-random-secret-min-32-chars"
JWT_EXPIRES_IN="7d"
REFRESH_TOKEN_SECRET="your-random-refresh-secret"
REFRESH_TOKEN_EXPIRES_IN="30d"
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
RESEND_API_KEY="re_..."
NEXT_PUBLIC_APP_URL="https://yourdomain.com"
NODE_ENV="production"

Deployment Options

Vercel (Recommended for Next.js)

// vercel.json
{
  "buildCommand": "npm run build",
  "devCommand": "npm run dev",
  "installCommand": "npm install",
  "framework": "nextjs",
  "outputDirectory": ".next",
  "regions": ["iad1", "sfo1", "fra1", "syd1"],
  "crons": [
    {
      "path": "/api/system/cron",
      "schedule": "0 2 * * *"
    }
  ]
}

Deploy:

npx vercel --prod

Docker

docker-compose up -d --build

Self-Hosted

npm run build
npm start
# Requires: Node.js 18+, PostgreSQL

Mobile App Setup

Android

npm install @capacitor/android
npx cap add android
npx cap sync
npx cap open android  # Opens in Android Studio

iOS

npm install @capacitor/ios
npx cap add ios
npx cap sync
npx cap open ios  # Opens in Xcode

Build Release

# Build web assets
npm run build

# Sync to native projects
npx cap sync

# Generate icons
node scripts/generate-icons.js

# Build Android AAB
npx cap build android

# Build iOS
npx cap build ios

Pre-Production Checklist

Security

  • Change all default secrets in .env.local
  • Enable CSRF protection
  • Set up rate limiting on sensitive endpoints
  • Enable HTTPS only
  • Configure CORS properly

Performance

  • Enable Next.js image optimization
  • Set up CDN for static assets
  • Configure database connection pooling
  • Enable compression

Monitoring

  • Set up Sentry error tracking
  • Configure health check endpoint
  • Set up daily cron jobs
  • Enable logging

App Store

  • Generate app icons (1024x1024)
  • Create splash screens
  • Update AndroidManifest.xml
  • Update iOS Info.plist
  • Configure push notifications
  • Generate screenshots for stores

Post-Deployment

  1. Run database migrations:
npx prisma migrate deploy
  1. Verify health check:
curl https://yourdomain.com/api/health
  1. Test critical flows:

    • Registration
    • Login
    • Booking
    • Payment
  2. Set up monitoring alerts

  3. Configure backup strategy

  4. Document operational procedures

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

ace-music

무료

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

ProjectZeroDays의 스킬 모두 보기

이 스킬의 문제 신고