---
title: ♻️ Manual Upgrade
description: Upgrade guide explaining how to safely update the project, including migrations, and versioning details.
---

import {Steps} from "@astrojs/starlight/components";

**Any updates are your responsibility. Make a backup of the data if necessary.**

Fetch updates from the remote repository:

```shell
git pull origin master
```

## Backend

<Steps>
1. Install dependencies
    ```shell
    composer install
    ```
2. Run database migrations
    ```shell
    php bin/console doctrine:migrations:migrate
    ```
3. Clearing the Symfony cache
    ```shell
    php bin/console cache:clear
    ```
4. Build assets
    ```shell
    php bin/console assets:install
    ```
</Steps>

## Frontend

<Steps>
1. Install dependencies
    ```shell
    yarn install
    ```
2. Generate language files
    ```shell
    yarn run ttag:po2json
    ```
3. Make the final build
    ```shell
    yarn build
    ```
</Steps>
