Skip to content

Updating to new versions

  1. Update the docker image to the latest version:

    Terminal window
    docker-compose pull
    docker-compose up -d
  2. Run the following command to update the database schema:

    Terminal window
    docker compose exec biblioteca bin/console doctrine:migration:migrate --no-interaction
  3. Run the following command to rebuild the frontend assets:

    Terminal window
    docker compose exec biblioteca npm i
    docker compose exec biblioteca npm run build
  4. If needed, update the typesense schema:

    Terminal window
    docker-compose exec biblioteca bin/console typesense:create
    docker-compose exec biblioteca bin/console typesense:import
  5. Clear the cache:

    Terminal window
    docker-compose exec biblioteca bin/console cache:clear