● Ship · Windows users
Windows
running the commands on a PC.
Answerbell runs on Node.js, which runs on Windows, but the commands in these pages are written for macOS and Linux shells. Production belongs on a Linux server.
01Three ways
- WSL (recommended): in an administrator PowerShell run
wsl --install, restart, open Ubuntu and follow the Linux steps inside it. This matches the server you will deploy to. - Git Bash: the commands work as written;
opensslships with Git for Windows. - PowerShell: use
Copy-Item .env.example .envinstead ofcp, and generate the key with the line below.
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
02The SQLite driver
better-sqlite3 needs the Visual Studio Build Tools ("Desktop development with C++") when no prebuilt binary matches your Node version. Inside WSL install build-essential python3 instead.
03Production
ElevenLabs and Stripe need a public https address, which a desktop PC behind a home router does not have. Run production on a Linux server (Deployment).