name: Docker Image CI/CD for Staging
on:
push:
branches: ["staging"]
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}src/
βββ app/ # Next.js app router
β βββ (marketing)/ # Public pages (e.g., home, about)
β βββ (shop)/ # Shop-related pages
β βββ (product)/ # Product-related pages
β βββ (admin)/ # Admin-related pages
β βββ layout.tsx # Root layout
β βββ page.tsx # Home page
βββ components/ # Reusable components
MOCK SETUP CONFIGURATION WORKFLOW
PHASE 1: PROJECT STRUCTURE ANALYSIS
1. Redux: Located in redux/, with feature-specific logic in redux/features/
2. API Responses: Used in pages/ and hooks/
3. LocalStorage/SecureLocalStorage: Used in utils/ or directly in components
4. Tests: Stored in __tests__/ with mocks designed for testing-
Use the Download button on www.cursor.com web site. It will download the
NAME.AppImagefile. -
Move the File:
sudo mv ~/Downloads/NAME.AppImage /opt/cursor.appimage
{ { "compilerOptions": { "target": "es2022", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true,