From Source
Installing
-
Get the code
git clone https://github.com/sbondCo/Watcharr.git && \
cd WatcharrIf you want a specific version, checkout a version tag (replace
<tag>
with the tag):git checkout <tag>
-
Build the frontend
The server will use the built files, so we move them to the
ui
folder, besides where it's binary will be built.npm i && \
npm run build && \
mv ./build ./server/ui -
Build the server
cd server && \
go mod download && \
GOOS=linux go build -o ./watcharr -
Run the server
first accountWhen first running Watcharr, make sure only you have access. The first user created will become admin.
./watcharr
-
Visit http://localhost:3080/ and setup Watcharr.
Updating
We try taking care as to not release breaking changes, however it is still recommended that you lookover changelogs before updating!
Breaking changes are marked at the top of releases: https://github.com/sbondCo/Watcharr/releases
Updating is the same as installing except:
-
Cleanup old build. Delete the
ui
folder and thewatcharr
binary. -
Replace step one with getting the new code:
git pull
If you checked out a tag, update to the new tag as well.