### SolStatus CLI Quick Start Source: https://github.com/unibeck/uptime-monitor/blob/master/README.md Installs project dependencies and provides help for the command-line interface. Essential for getting started with the SolStatus CLI. ```bash pnpm i pnpm cli --help ``` -------------------------------- ### SolStatus Local Development Setup Source: https://github.com/unibeck/uptime-monitor/blob/master/README.md Steps to set up the local development environment, including copying configuration files, verifying Cloudflare account, and setting up the database. ```bash # Copy example dev variables cp ./packages/infra/.dev.vars.example ./packages/infra/.dev.vars # Verify Cloudflare account pnpm exec wrangler whoami # Setup database (migrations and seeding) pnpm db:setup ``` -------------------------------- ### Install @solstatus/infra with pnpm Source: https://github.com/unibeck/uptime-monitor/blob/master/packages/infra/README.md Installs the @solstatus/infra package using the pnpm package manager. This is the initial step to include the infrastructure configuration in your project. ```bash pnpm i @solstatus/infra ``` -------------------------------- ### SolStatus Dependency Updates Source: https://github.com/unibeck/uptime-monitor/blob/master/README.md Commands to manually update project dependencies. It uses `npm-check-updates` to update minor versions and then installs the updated packages. ```bash pnpm exec ncu -t minor -u pnpm i ``` -------------------------------- ### Access Drizzle Studio with pnpm Source: https://github.com/unibeck/uptime-monitor/blob/master/packages/infra/README.md Launches Drizzle Studio, a GUI tool for viewing and editing your database. Use 'db:studio' for the local database and 'db:studio:prod' for the production database. ```bash pnpm run db:studio pnpm run db:studio:prod ``` -------------------------------- ### SolStatus CLI Deployment Commands Source: https://github.com/unibeck/uptime-monitor/blob/master/README.md Commands to deploy infrastructure, deploy to a specific stage (e.g., production), or destroy infrastructure for a given fully qualified domain name (FQDN). ```bash pnpm cli --fqdn uptime.example.com pnpm cli --fqdn uptime.example.com --stage prod pnpm cli --fqdn uptime.example.com --phase destroy ``` -------------------------------- ### Manage Database Migrations with pnpm Source: https://github.com/unibeck/uptime-monitor/blob/master/packages/infra/README.md Provides commands for managing database migrations. 'db:generate' creates new migration files, 'db:migrate' applies pending migrations to the local database, and 'db:migrate:prod' applies them to the production database. ```bash pnpm run db:generate pnpm run db:migrate pnpm run db:migrate:prod ``` -------------------------------- ### SolStatus Deployment Commands Source: https://github.com/unibeck/uptime-monitor/blob/master/README.md Commands for deploying the SolStatus application, either the entire application or specific components like the Next.js app or API workers. ```bash # Deploy entire application pnpm run deploy # Deploy Next.js app only pnpm deploy:app # Deploy API workers only pnpm deploy:api # Deploy API executor worker pnpm deploy:api-exec # Deploy API trigger worker pnpm deploy:api-trigger ``` -------------------------------- ### SolStatus Local Development Execution Source: https://github.com/unibeck/uptime-monitor/blob/master/README.md Commands to run the SolStatus application locally. This includes running the entire application (API and Next.js app) or individual components like the API, API executor, or trigger workers. ```bash # Run entire application pnpm dev # Run API workers only pnpm dev:api # Run Next.js app only pnpm dev:app # Run API executor worker pnpm dev:api-exec # Run API trigger worker pnpm dev:api-trigger ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.