Skip to content

Commit

Permalink
idk why every file wants to be commited
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Dec 1, 2023
1 parent c89c04c commit 56921bf
Show file tree
Hide file tree
Showing 96 changed files with 20 additions and 11 deletions.
Empty file modified .gitattributes
100644 → 100755
Empty file.
Empty file modified .github/dependabot.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/discord.yml
100644 → 100755
Empty file.
Empty file modified .prettierrc
100644 → 100755
Empty file.
Empty file modified Dockerfile
100644 → 100755
Empty file.
Empty file modified Dockerfile.arm64
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Dockerfile.panel
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VOLUME /app/public
VOLUME /app/database


COPY ./build/svelte/build ./public/
COPY ./build/svelte/exportdata ./public/

RUN apk add --no-cache ffmpeg bash
COPY ./build/cmd/main_linux_amd64.bin ./
Expand Down
Empty file modified Dockerfile.panel.arm64
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified SECURITY.md
100644 → 100755
Empty file.
29 changes: 19 additions & 10 deletions build/build.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,33 @@ read -p "Do you want to run the Panel Build Script? (yes/no): " answer
if [ "$answer" = "yes" ]; then
rm -fr ./build/svelte
# PANEL
git clone https://github.com/02Gqbriel/videocms-svelte.git ./build/svelte
git clone git@github.com:Kirari04/videocms-frontend.git ./build/svelte
cd ./build/svelte
yarn install
echo "VITE_API_URL=" > ./.env
yarn build
bun install
cat > ./.env <<- EOF
NUXT_PUBLIC_API_URL=http://localhost/api
NUXT_PUBLIC_BASE_URL=http://localhost
NUXT_PUBLIC_DOCKER_HUB_TAG=localhost
NUXT_PUBLIC_API_DOCS=http://localhost
NUXT_PUBLIC_TUTORIAL=http://localhost
EOF

bun run generate
mkdir exportdata
mv -r ./dist ./exportdata
cd ../../
fi

# DOCKER
export DOCKER_BUILDKIT=1
echo RUNNING DOCKER BUILD AMD64
docker build . --platform linux/amd64 -f Dockerfile -t kirari04/videocms:alpha-1 --push
echo RUNNING DOCKER BUILD ARM64
docker build . --platform linux/arm64 -f Dockerfile.arm64 -t kirari04/videocms:alpha-1_arm64 --push
# echo RUNNING DOCKER BUILD AMD64
# docker build . --platform linux/amd64 -f Dockerfile -t kirari04/videocms:alpha-1 --push
# echo RUNNING DOCKER BUILD ARM64
# docker build . --platform linux/arm64 -f Dockerfile.arm64 -t kirari04/videocms:alpha-1_arm64 --push

echo RUNNING DOCKER BUILD AMD64 PANEL
docker build . --platform linux/amd64 -f Dockerfile.panel -t kirari04/videocms:panel --push
echo RUNNING DOCKER BUILD ARM64 PANEL
docker build . --platform linux/arm64 -f Dockerfile.panel.arm64 -t kirari04/videocms:panel_arm64 --push
# echo RUNNING DOCKER BUILD ARM64 PANEL
# docker build . --platform linux/arm64 -f Dockerfile.panel.arm64 -t kirari04/videocms:panel_arm64 --push

echo "DONE"
Empty file modified cloud-config.arm64.yaml
100644 → 100755
Empty file.
Empty file modified cloud-config.yaml
100644 → 100755
Empty file.
Empty file modified config/config.go
100644 → 100755
Empty file.
Empty file modified console/helpers/Config.go
100644 → 100755
Empty file.
Empty file modified console/helpers/CreateAdminUser.go
100644 → 100755
Empty file.
Empty file modified console/helpers/DeleteAdminUser.go
100644 → 100755
Empty file.
Empty file modified console/helpers/FreshDatabase.go
100644 → 100755
Empty file.
Empty file modified console/helpers/Migrate.go
100644 → 100755
Empty file.
Empty file modified controllers/CloneFileController.go
100644 → 100755
Empty file.
Empty file modified controllers/CreateUploadChunckController.go
100644 → 100755
Empty file.
Empty file modified controllers/CreateUploadFileController.go
100644 → 100755
Empty file.
Empty file modified controllers/CreateUploadSessionController.go
100644 → 100755
Empty file.
Empty file modified controllers/CreateWebhookController.go
100644 → 100755
Empty file.
Empty file modified controllers/DeleteFileController.go
100644 → 100755
Empty file.
Empty file modified controllers/DeleteFilesController.go
100644 → 100755
Empty file.
Empty file modified controllers/DeleteWebhookController.go
100644 → 100755
Empty file.
Empty file modified controllers/GetAccountController.go
100644 → 100755
Empty file.
Empty file modified controllers/GetAudioDataController.go
100644 → 100755
Empty file.
Empty file modified controllers/GetConfigController.go
100644 → 100755
Empty file.
Empty file modified controllers/GetFileExampleController.go
100644 → 100755
Empty file.
Empty file modified controllers/GetM3u8DataController.go
100644 → 100755
Empty file.
Empty file modified controllers/GetSubtitleDataController.go
100644 → 100755
Empty file.
Empty file modified controllers/GetThumbnailDataController.go
100644 → 100755
Empty file.
Empty file modified controllers/GetVideoDataController.go
100644 → 100755
Empty file.
Empty file modified controllers/ListWebhooksController.go
100644 → 100755
Empty file.
Empty file modified controllers/PlayerController.go
100644 → 100755
Empty file.
Empty file modified controllers/UpdateWebhookController.go
100644 → 100755
Empty file.
Empty file modified controllers/ViewExampleUploadController.go
100644 → 100755
Empty file.
Empty file modified controllers/ViewIndexController.go
100644 → 100755
Empty file.
Empty file modified go.mod
100644 → 100755
Empty file.
Empty file modified go.sum
100644 → 100755
Empty file.
Empty file modified helpers/Captcha.go
100644 → 100755
Empty file.
Empty file modified helpers/DirSize.go
100644 → 100755
Empty file.
Empty file modified helpers/DynamicJwt.go
100644 → 100755
Empty file.
Empty file modified helpers/Folder.go
100644 → 100755
Empty file.
Empty file modified helpers/GenM3u8Stream.go
100644 → 100755
Empty file.
Empty file modified helpers/GetUser.go
100644 → 100755
Empty file.
Empty file modified helpers/HashFile.go
100644 → 100755
Empty file.
Empty file modified helpers/RemoveFromArray.go
100644 → 100755
Empty file.
Empty file modified helpers/UserRequestAsync.go
100644 → 100755
Empty file.
Empty file modified inits/Cache.go
100644 → 100755
Empty file.
Empty file modified inits/Captcha.go
100644 → 100755
Empty file.
Empty file modified inits/Folders.go
100644 → 100755
Empty file.
Empty file modified logic/CreateFile.go
100644 → 100755
Empty file.
Empty file modified logic/CreateFolder.go
100644 → 100755
Empty file.
Empty file modified logic/CreateUploadChunck.go
100644 → 100755
Empty file.
Empty file modified logic/CreateUploadFile.go
100644 → 100755
Empty file.
Empty file modified logic/CreateUploadSession.go
100644 → 100755
Empty file.
Empty file modified logic/CreateWebhook.go
100644 → 100755
Empty file.
Empty file modified logic/DeleteFiles.go
100644 → 100755
Empty file.
Empty file modified logic/DeleteFolders.go
100644 → 100755
Empty file.
Empty file modified logic/DeleteWebhook.go
100644 → 100755
Empty file.
Empty file modified logic/GetAccount.go
100644 → 100755
Empty file.
Empty file modified logic/GetAudioData.go
100644 → 100755
Empty file.
Empty file modified logic/GetFile.go
100644 → 100755
Empty file.
Empty file modified logic/GetFileExample.go
100644 → 100755
Empty file.
Empty file modified logic/GetM3u8Data.go
100644 → 100755
Empty file.
Empty file modified logic/GetSubtitleData.go
100644 → 100755
Empty file.
Empty file modified logic/GetThumbnailData.go
100644 → 100755
Empty file.
Empty file modified logic/GetVideoData.go
100644 → 100755
Empty file.
Empty file modified logic/HashCloneFile.go
100644 → 100755
Empty file.
Empty file modified logic/ListFiles.go
100644 → 100755
Empty file.
Empty file modified logic/Thumbnail.go
100644 → 100755
Empty file.
Empty file modified logic/UpdateWebhook.go
100644 → 100755
Empty file.
Empty file modified models/Model.go
100644 → 100755
Empty file.
Empty file modified models/UploadChunck.go
100644 → 100755
Empty file.
Empty file modified models/UploadFile.go
100644 → 100755
Empty file.
Empty file modified models/UploadSession.go
100644 → 100755
Empty file.
Empty file modified models/Webhooks.go
100644 → 100755
Empty file.
Empty file modified public/favicon.ico
100644 → 100755
Empty file.
Empty file modified public/icons/svgs.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified public/logo-banner-big.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified public/logo-banner-small.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified public/logo-banner.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified public/logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified scripts/$default.sh
100644 → 100755
Empty file.
Empty file modified services/Deleter.go
100644 → 100755
Empty file.
Empty file modified services/Encoder.go
100644 → 100755
Empty file.
Empty file modified services/EncoderCleanup.go
100644 → 100755
Empty file.
Empty file modified test/files/test1.mkv
100644 → 100755
Empty file.
Empty file modified views/404.html
100644 → 100755
Empty file.
Empty file modified views/examples/upload.html
100644 → 100755
Empty file.
Empty file modified views/index.html
100644 → 100755
Empty file.
Empty file modified views/player.html
100644 → 100755
Empty file.
Empty file modified views/player.old.html
100644 → 100755
Empty file.

0 comments on commit 56921bf

Please sign in to comment.