Perplexica/docs/installation/UPDATING.md

47 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2024-06-29 11:38:43 +05:30
# Update Perplexica to the latest version
To update Perplexica to the latest version, follow these steps:
## For Docker users
1. Clone the latest version of Perplexica from GitHub:
```bash
2025-02-15 12:33:43 +05:30
git clone https://github.com/ItzCrazyKns/Perplexica.git
```
2024-06-29 11:38:43 +05:30
2025-02-15 12:33:43 +05:30
2. Navigate to the project directory.
2024-10-02 22:54:16 +05:30
2025-02-15 12:33:43 +05:30
3. Check for changes in the configuration files. If the `sample.config.toml` file contains new fields, delete your existing `config.toml` file, rename `sample.config.toml` to `config.toml`, and update the configuration accordingly.
4. Pull the latest images from the registry.
2024-10-02 22:54:16 +05:30
```bash
docker compose pull
```
2024-06-29 11:38:43 +05:30
2025-02-15 12:33:43 +05:30
5. Update and recreate the containers.
2024-06-29 11:39:23 +05:30
```bash
docker compose up -d
```
2024-07-25 20:33:56 +05:30
2025-02-15 12:33:43 +05:30
6. Once the command completes, go to http://localhost:3000 and verify the latest changes.
2024-06-29 11:38:43 +05:30
2025-02-15 12:33:43 +05:30
## For non-Docker users
2024-06-29 11:38:43 +05:30
1. Clone the latest version of Perplexica from GitHub:
```bash
2025-02-15 12:33:43 +05:30
git clone https://github.com/ItzCrazyKns/Perplexica.git
```
2024-06-29 11:38:43 +05:30
2025-02-15 12:33:43 +05:30
2. Navigate to the project directory.
3. Check for changes in the configuration files. If the `sample.config.toml` file contains new fields, delete your existing `config.toml` file, rename `sample.config.toml` to `config.toml`, and update the configuration accordingly.
2025-03-20 12:33:15 +05:30
4. After populating the configuration run `npm i`.
5. Install the dependencies and then execute `npm run build`.
6. Finally, start the app by running `npm run start`
2025-02-15 12:33:43 +05:30
---