Rewrite into submodule repo

This commit is contained in:
Sommerwiesel
2025-06-18 16:23:05 +02:00
parent 3e4004c243
commit 5a75fb491d
5 changed files with 15 additions and 10 deletions
-1
View File
@@ -1 +0,0 @@
build/
+6
View File
@@ -0,0 +1,6 @@
[submodule "build"]
path = build
url = https://github.com/iv-org/invidious
[submodule "companion"]
path = companion
url = https://github.com/iv-org/invidious-companion
+7 -9
View File
@@ -26,18 +26,16 @@ You'll have to set these up yourself:
Do this in a separate dir (for example /srv/invidious) under non-root permissions
1. `git clone https://github.com/Sommerwiesel/invidious-nerdvpn .`
2. `git clone https://github.com/iv-org/invidious build`
3. `git clone https://github.com/iv-org/invidious-companion companion`
4. Modify the patches under invidious-nerdvpn/patches to your needs (i.e. change branding) and then run `./patch.sh`
5. `./build.sh development` for the development image or `./build.sh release` for the production image
6. `build.sh companion` to build the invidious companion
1. `git clone --recurse-submodules https://github.com/Sommerwiesel/invidious-nerdvpn .`
2. Modify the patches under invidious-nerdvpn/patches to your needs (i.e. change branding) and then run `./patch.sh`
3. `./build.sh development` for the development image or `./build.sh release` for the production image
4. `build.sh companion` to build the invidious companion
# Update instructions
1. Run `./revert.sh` to remove all patches
2. Update both repos (build and companion) via `git pull`
3. Run the steps 5 and 6 again from the run instructions
1. `./revert.sh` to remove all patch-modifications
2. `git pull --recurse-submodules`
3. Run the steps 3 and 4 again from the run instructions
# Run instructions (docker compose)
Submodule
+1
Submodule build added at df8839d1f0
Submodule
+1
Submodule companion added at e6c9c5cb6e