Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 1.45 KB

SETUP.md

File metadata and controls

45 lines (40 loc) · 1.45 KB

How to setup the application

First-time fresh install

Database initialization

  1. Point your web browser to http://<YOUR_HOST>/Web/install
    • 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
    • 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 http://<YOUR_HOST>
  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 pointing your web browser to http://<YOUR_HOST>/Web/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'