From 022cf55db7eb026f371cd772ac157b24616a12dd Mon Sep 17 00:00:00 2001 From: ItzCrazyKns Date: Sat, 29 Jun 2024 11:38:43 +0530 Subject: [PATCH] feat(docs): add update docs --- docs/installation/UPDATING.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/installation/UPDATING.md diff --git a/docs/installation/UPDATING.md b/docs/installation/UPDATING.md new file mode 100644 index 0000000..4472b9a --- /dev/null +++ b/docs/installation/UPDATING.md @@ -0,0 +1,33 @@ +# 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 +``` + +2. Navigate to the Project Directory + +3. Update and Rebuild Docker Containers: +4. +```bash +docker compose up -d --build +``` +5. Once the command completes running go to http://localhost:3000 and verify the latest changes. + +## For non Docker users + +1. Clone the latest version of Perplexica from GitHub: + +```bash + git clone https://github.com/ItzCrazyKns/Perplexica.git +``` + +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.