Skip to content

Latest commit

 

History

History
49 lines (44 loc) · 1.62 KB

SETUP.md

File metadata and controls

49 lines (44 loc) · 1.62 KB

How to setup the application

First-time fresh install

Database initialization

  1. Point your web browser to <YOUR_HOST>/install or <YOUR_HOST>/<YOUR_PATH>/install (if you are using a custom URL-path)
    • Enter the installation password (docker variable LB_INSTALL_PWD)
    • Enter the database root user: root
    • Enter the database root password (docker variable LB_DB_USER_PWD)
    • Select Create the database
    • Select Create the database user
    • Click on the register link, at the bottom of the web page
    • Fill the register form for the application administrator
    • Click on the button Register

Application configuration

  1. Point your web browser to <YOUR_HOST> or <YOUR_HOST>/<YOUR_PATH> if you are using a reverse-proxy
  2. Login with your application administrator profile
  3. Configure the web application

Upgrade from a previous application version

  1. Stop the service
    docker-compose down
    
  2. Change the image name inside your docker-compose.yml file
  3. Restart the service
    docker-compose up --detach
    
  4. Upgrade the application database by accessing <YOUR_HOST>/install/configure.php or <YOUR_HOST>/<YOUR_PATH>/install/configure.php

Upgrade to docker-image v2 from docker-image v1

  1. Stop the service
    docker-compose down
    
  2. Change the image name inside your docker-compose.yml file
  3. Restart the service
    docker-compose up --detach
    
  4. If you didn't customize the /var/www/html directory, you can delete the /config/archive folder at your convenience
    docker exec librebooking bash -c 'rm -rf /config/archive'