mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-10-21 14:58:15 +00:00
1.7 KiB
1.7 KiB
Update Perplexica to the latest version
To update Perplexica to the latest version, follow these steps:
For Docker users (Using pre-built images)
Simply pull the latest image and restart your container:
docker pull itzcrazykns1337/perplexica:latest
docker stop perplexica
docker rm perplexica
docker run -p 3000:3000 --name perplexica itzcrazykns1337/perplexica:latest
For slim version:
docker pull itzcrazykns1337/perplexica:slim-latest
docker stop perplexica
docker rm perplexica
docker run -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng-url:8080 --name perplexica itzcrazykns1337/perplexica:slim-latest
Once updated, go to http://localhost:3000 and verify the latest changes. Your settings are preserved automatically.
For Docker users (Building from source)
-
Navigate to your Perplexica directory and pull the latest changes:
cd Perplexica git pull origin master
-
Rebuild the Docker image:
docker build -t perplexica .
-
Stop and remove the old container, then start the new one:
docker stop perplexica docker rm perplexica docker run -p 3000:3000 -p 8080:8080 --name perplexica perplexica
-
Once the command completes, go to http://localhost:3000 and verify the latest changes.
For non-Docker users
-
Navigate to your Perplexica directory and pull the latest changes:
cd Perplexica git pull origin master
-
Install any new dependencies:
npm i
-
Rebuild the application:
npm run build
-
Restart the application:
npm run start
-
Go to http://localhost:3000 and verify the latest changes. Your settings are preserved automatically.