Perplexica/docs/installation/UPDATING.md

41 lines
1 KiB
Markdown
Raw 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
git clone https://github.com/ItzCrazyKns/Perplexica.git
```
2024-06-29 11:38:43 +05:30
2024-10-02 22:54:16 +05:30
2. Navigate to the Project Directory.
3. Pull latest images from registry.
```bash
docker compose pull
```
2024-06-29 11:38:43 +05:30
2024-10-02 22:54:16 +05:30
4. Update and Recreate containers.
2024-06-29 11:39:23 +05:30
```bash
docker compose up -d
```
2024-07-25 20:33:56 +05:30
2024-10-02 22:54:16 +05:30
5. Once the command completes running go to http://localhost:3000 and verify the latest changes.
2024-06-29 11:38:43 +05:30
## For non Docker users
1. Clone the latest version of Perplexica from GitHub:
```bash
git clone https://github.com/ItzCrazyKns/Perplexica.git
```
2024-06-29 11:38:43 +05:30
2. Navigate to the Project Directory
3. Execute `npm i` in both the `ui` folder and the root directory.
4. Once packages are updated, execute `npm run build` in both the `ui` folder and the root directory.
5. Finally, start both the frontend and the backend by running `npm run start` in both the `ui` folder and the root directory.