This flowchart illustrates the step-by-step process for deploying and launching the KrishiSetu application, covering prerequisite checks, tool installation
flowchart TD
A[Run KrishiSetu-Launcher.ps1] --> B[Check Prerequisites]
B --> C{Node.js & npm?}
C -->|No| D[Install Node.js]
C -->|Yes| E[Install Global Tools]
D --> E
E --> F[Firebase CLI & Hardhat]
F --> G[Start Hardhat Node]
G --> H[Deploy Smart Contract]
H --> I[Configure Network]
I --> J[Start Frontend Server]
J --> K[Application Ready]
K --> L[Show Configuration Info]
L --> M[User Can Access App]
style K fill:#e8f5e8
style M fill:#e3f2fd
This diagram details the automated deployment and launch sequence for the KrishiSetu application, starting from running a PowerShell launcher script. It covers checking and installing prerequisites like Node.js and npm, installing global tools such as Firebase CLI and Hardhat, starting a local Hardhat node, deploying smart contracts, configuring the network, and finally launching the frontend server to make the application accessible to the user.
Use this diagram when documenting the setup process for a new development environment, onboarding new team members, automating application deployment, or troubleshooting launch issues for a blockchain-based application.
This flow can be adapted by integrating different package managers (e.g., Yarn), replacing Hardhat with other blockchain development environments (e.g., Truffle), using different cloud providers for deployment, or adding steps for database setup, environment variable configuration, or CI/CD pipeline integration.