Reading the repo
Reading the repo
How to install on Linux
NOW MANAGED ON CODEBERG
Saved setup from 5 h ago
Will it work on my device?
Then run bash setup.sh. 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.
git clone https://github.com/BookStackApp/BookStack.git cd BookStack
Node.js LTS (no version pinned), PHP ^8.3.0
# needs nvm: https://github.com/nvm-sh/nvm nvm install --lts sudo apt install php-cli php-mbstring php-xml php-curl unzip composer # Debian/Ubuntu
Fill in secrets: APP_KEY, DB_PASSWORD, MAIL_PASSWORD
cp .env.example .env
Needs: MySQL, Mail catcher
# needs Docker Engine: https://docs.docker.com/engine/install/ 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 Linux yet.
Opens a chat with this manual already filled in, for Linux. It uses your own account; gitmanual sends nothing.