| title | Updating |
|---|
You can update AirTrail to the latest version by following these steps.
To update your Docker Compose installation, run the following command in the directory where the docker-compose.yml
and .env files are located:
docker compose pull && docker compose up -dUpdating a manually installed version of AirTrail is a bit more involved. You need to pull the latest changes from the repository, install the dependencies, rebuild the app, and run the database migrations.
Before you start, make sure you have turned off the old version of AirTrail.
First, navigate to the directory where you installed AirTrail and pull the latest changes from the repository:
git pullNext, install the dependencies:
bun installNow, build the app:
bun run buildFinally, run the database migrations:
Make sure you ran the database migrations after the initial installation as well, or you risk losing data when updating.bun run db:migrate-deploy