Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
Written by AI from the README.
Saved setup from 15 h ago
Will it work on Windows?
The maintainers included scripts/install_and_sync.sh. Run it from the cloned folder after reading it.
bash scripts/install_and_sync.sh
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/moniruzjaman/AgriChem-Guide-Pest-Control-Database.git cd AgriChem-Guide-Pest-Control-Database
Node.js 20, Bun, Python 3.11
winget install CoreyButler.NVMforWindows nvm install 20 nvm use 20 powershell -c "irm bun.sh/install.ps1 | iex" winget install Python.Python.3.11
Copy-Item .env.example .env
bun install python -m venv .venv .venv\Scripts\Activate.ps1 pip install -r requirements.txt
bun run dev
bun run test
npm install # or: bun install
cp .env.example .env # fill in values if you use them locally
npm run dev # starts Express + Vite on http://localhost:3000
In development, server.ts runs Vite in middleware mode, so hot reload works while the /api/visitors/* endpoints are available from the same origin.
npm run build # Vite bundle → dist/ + esbuild server → dist/server.cjs
npm start # node dist/server.cjs (serves dist/ with SPA fallback & OG rewriting)
Set NODE_ENV=production before npm start. The server listens on port 3000 at 0.0.0.0.
npm run lint # tsc --noEmit type check
npm run preview # vite preview
npm run clean # remove dist/ and server.js
No reports for Windows yet.
GitManual AI Agent reads the 6 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.