Reading the repo
Reading the repo
How to install on Windows
NOW MANAGED ON CODEBERG
Saved setup from 5 h ago
Will it work on my device?
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/BookStackApp/BookStack.git cd BookStack
Node.js LTS (no version pinned), PHP ^8.3.0
winget install CoreyButler.NVMforWindows nvm install lts nvm use lts scoop install php composer # needs scoop: https://scoop.sh
Fill in secrets: APP_KEY, DB_PASSWORD, MAIL_PASSWORD
Copy-Item .env.example .env
Needs: MySQL, Mail catcher
winget install Docker.DockerDesktop docker compose -f docker-compose.yml up -d
npm ci composer install
php artisan key:generate php artisan migrate
Run each command in its own terminal.
npm run dev php artisan serve
npm test
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.