Either via GUI or run the following commands:
touch /var/opt/mssql/data/kanaka.mdf| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"/> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
| <title>CCP Manual Reports Utility</title> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;600;700&display=swap'); | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } |
| name: zoto | |
| services: | |
| zoto-db: | |
| image: postgres:17.6 | |
| container_name: zoto-db | |
| environment: | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: password |
| "use client" | |
| import { useState, useEffect } from "react" | |
| import { Server, Globe, CheckCircle, AlertCircle, MoreHorizontal, Search } from "lucide-react" | |
| import { Button } from "@/components/ui/button" | |
| import { Card, CardContent } from "@/components/ui/card" | |
| import { Badge } from "@/components/ui/badge" | |
| import { Avatar, AvatarFallback } from "@/components/ui/avatar" | |
| import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@/components/ui/dropdown-menu" | |
| export default function ForgeDashboard() { |
| // routes/transactions.tsx | |
| import { createFileRoute, stripSearchParams } from "@tanstack/react-router" | |
| import { zodValidator } from "@tanstack/zod-adapter" | |
| import { ArrowDown, ArrowUp, ArrowUpDown, X } from "lucide-react" | |
| import { useId } from "react" | |
| import z from "zod" | |
| import { Badge } from "@/components/ui/badge" | |
| import { Button } from "@/components/ui/button" | |
| import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" | |
| import { Checkbox } from "@/components/ui/checkbox" |
| import env from "@/env"; | |
| import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3"; | |
| import { getSignedUrl } from "@aws-sdk/s3-request-presigner"; | |
| import { Upload } from "@aws-sdk/lib-storage"; | |
| import { createPresignedPost } from "@aws-sdk/s3-presigned-post"; | |
| const s3Client = new S3Client({ | |
| region: "auto", | |
| endpoint: `https://${env.CLOUDFLARE_ACCOUNT_ID}.r2.cloudflarestorage.com`, | |
| credentials: { |
| // Types for the result object with discriminated union | |
| type Success<T> = { | |
| data: T | |
| error: null | |
| } | |
| type Failure<E> = { | |
| data: null | |
| error: E | |
| } |