Files
gooseek/docs/installation/UPDATING.md

82 lines
1.7 KiB
Markdown

# Update GooSeek to the latest version
To update GooSeek to the latest version, follow these steps:
## For Docker users (Using pre-built images)
Simply pull the latest image and restart your container:
```bash
docker pull itzcrazykns1337/gooseek:latest
docker stop gooseek
docker rm gooseek
docker run -d -p 3000:3000 -v gooseek-data:/home/gooseek/data --name gooseek itzcrazykns1337/gooseek:latest
```
For slim version:
```bash
docker pull itzcrazykns1337/gooseek:slim-latest
docker stop gooseek
docker rm gooseek
docker run -d -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng-url:8080 -v gooseek-data:/home/gooseek/data --name gooseek itzcrazykns1337/gooseek: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)
1. Navigate to your GooSeek directory and pull the latest changes:
```bash
cd GooSeek
git pull origin master
```
2. Rebuild the Docker image:
```bash
docker build -t gooseek .
```
3. Stop and remove the old container, then start the new one:
```bash
docker stop gooseek
docker rm gooseek
docker run -p 3000:3000 -p 8080:8080 --name gooseek gooseek
```
4. Once the command completes, go to http://localhost:3000 and verify the latest changes.
## For non-Docker users
1. Navigate to your GooSeek directory and pull the latest changes:
```bash
cd GooSeek
git pull origin master
```
2. Install any new dependencies:
```bash
npm i
```
3. Rebuild the application:
```bash
npm run build
```
4. Restart the application:
```bash
npm run start
```
5. Go to http://localhost:3000 and verify the latest changes. Your settings are preserved automatically.
---