Verwaltung von Cookies, die für die Werbung verwendet werden, wie z. B. Anzeigenpersonalisierung, Remarketing und Analyse der Anzeigenleistung.
2.14.18.1. Install BookStack
Automatic install
See CMS auto-install.
Manual install
Prepare
- Change the root directory of the site to
public.
Install
- Connect to the hosting via SSH.
- Navigate to the root directory of the site (use your site and subdomain name in the command):
cd example.com/www/ - Clone the repository:
git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch . - Install the packages:
composer install --no-dev - Create a configuration file:
cp .env.example .env - Edit the
.envconfiguration file and specify your data for the following parameters:- Site:
APP_URL— the address of your site.
- Database:
DB_HOST— database host.DB_DATABASE— name of the database.DB_USERNAME— database user login.DB_PASSWORD— password of the database user.
- Mail:
MAIL_FROM— mailbox from which mail will be sent from the site.MAIL_HOST—mail.adm.tools.MAIL_PORT—465.MAIL_USERNAME— the same mailbox as forMAIL_FROM.MAIL_ENCRYPTION—tls.
- Generate a unique application key (during the process, select "yes"):
php artisan key:generate - Update the contents of the database (select "yes" during the process):
php artisan migrate
After installation
- Open the site in the browser and log in with the standard username and password:
admin@admin.comandpassword. - Replace the default login and password with your own:
- In the upper right corner, click "Admin" and select "My Account".
- In the "Profile Details" section, enter your email and save the changes.
- In the "Access & Security" section, in the "Change Password" block, set a new password.
- Check the sending of mail from the site:
- Go to "Settings → Maintenance".
- 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.
- If necessary, set the desired language in "My Account → Profile Details".