Added packaging script

Update .gitignore and package-for-release.cmd
This commit is contained in:
2025-03-30 15:17:21 +02:00
parent 4d80ed906f
commit accdf741f1
2 changed files with 32 additions and 0 deletions

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@
# Build artifacts
__pycache__/
*.tar
# NodeJS' BS
node_modules/

View File

@@ -0,0 +1,31 @@
@echo off
pushd %CD%
:: Going into the project's directory
cd /D "%~dp0"
call delete-pycache.cmd
cd ..
echo.
echo Creating Release Package
echo ------------------------
echo %CD%
del release.tar 2> nul
7z a "release.tar" ^
-xr!*.pdn ^
-xr!*.ai ^
data/ ^
static/ ^
templates/ ^
website/ ^
.dockerignore ^
.env ^
app.py ^
Dockerfile ^
requirements.txt
popd