Compare commits

..

No commits in common. "main" and "1.0.1" have entirely different histories.
main ... 1.0.1

4 changed files with 1 additions and 66 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 MiB

View file

@ -1,61 +0,0 @@
name: Test the installation routine
on:
push:
pull_request:
workflow_dispatch:
jobs:
test-install:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up DDEV
uses: ddev/github-action-setup-ddev@v1
- name: Start DDEV environment
run: |
ddev start
ddev describe
- name: Run installation
run: |
echo "Starting JTL-Shop installation..."
ddev just install
- name: Basic verification
run: |
echo "=== Verifying installation ==="
# Check if basic shop files are present
test -d shop/
test -f shop/index.php
test -d shop/includes/
# Check if database tables were created
ddev exec "mysql -e 'SHOW TABLES;' db" | grep -q "tadmin" || (echo "Database tables not found" && exit 1)
echo "Installation verification completed successfully!"
- name: Debug on failure
if: failure()
run: |
echo "=== DDEV Status ==="
ddev describe
echo "=== DDEV Logs ==="
ddev logs
echo "=== Shop Directory ==="
ls -la shop/ || true
echo "=== Install Directory ==="
ls -la shop/install/ || true
- name: Cleanup
if: always()
run: |
ddev stop
ddev remove -RO

View file

@ -69,7 +69,3 @@ Hier sind alle Installationsparameter die mit der Installation mitgegeben werden
| `install_demo_categories` | `3` | Falls die Demo-Daten installiert werden: Anzahl zu generierenden der Kategorien |
| `install_demo_manufacturers` | `3` | Falls die Demo-Daten installiert werden: Anzahl der zu generierenden Hersteller |
| `install_url` | `jtl-shop.ddev.site` | Die URL über die der Shop erreicht werden soll. Achtung: DDEV Config vorher anpassen! |
### Beispiel
![Installation Demo](.github/assets/command-exec.gif)