2.14.18.1. Install BookStack

  1. Set PHP 8.2 or higher for the site and console (see the official requirements).
  2. Change the root directory of the site to public.
  1. Connect to the hosting via SSH.
  2. Navigate to the root directory of the site (use your site and subdomain name in the command):
    cd example.com/www/
  3. Clone the repository:
    git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch .
  4. Install the packages:
    composer install --no-dev
  5. Create a configuration file:
    cp .env.example .env
  6. Edit the .env configuration file and specify your data for the following parameters:
  7. Generate a unique application key (during the process, select "yes"):
    php artisan key:generate
  8. Update the contents of the database (select "yes" during the process):
    php artisan migrate
  1. Open the site in the browser and log in with the standard username and password: admin@admin.com and password.
  2. Replace the default login and password with your own:
    1. In the upper right corner, click "Admin" and select "My Account".
    2. In the "Profile Details" section, enter your email and save the changes.
    3. In the "Access & Security" section, in the "Change Password" block, set a new password.
  3. Check the sending of mail from the site:
    1. Go to "Settings → Maintenance".
    2. In the "Send a Test Email" block, click "Send test email" — if everything is in order, a green success notification will appear, and a test email will be sent to the administrator's email.
  4. If necessary, set the desired language in "My Account → Profile Details".
Inhalt