Seite 6 von 6 ErsteErste ... 2456
Ergebnis 201 bis 207 von 207

Thema: Contao & Laragon: Schritt für Schritt zur lokalen Entwicklungsumgebung unter Windows

  1. #201
    Contao-Nutzer Avatar von Skipman
    Registriert seit
    13.08.2011.
    Ort
    Nähe St. Pölten / Niederösterreich
    Beiträge
    55
    Contao-Projekt unterstützen

    Support Contao

    Standard Nur den Contao-Manager installieren

    Um auch lokal von den neuen Features des Contao-Managers (direkt vor der Installation von Contao ein Theme auswählen) profitieren zu können, ist folgendes erforderlich:

    Bearbeite über das Laragon-Menü Neue Webseite erstellen => Konfiguration die Datei sites.conf. Füge folgende Zeilen hinzu:

    Code:
      # Contao Manager Only
      Contao-Manager ... =about && call ..\usr\cmd\create-project_contao.cmd "%s"
    Damit die Installation funktioniert, muss auch die referenzierte Datei angelegt werden. Die Datei legt den Ordner /public an, bevor die Host-Konfiguration für das Projekt angelegt wird.

    • Erstelle den Ordner "laragon\usr\cmd"
    • Erstelle eine neue Datei mit dem Namen "create-project_contao.cmd" und füge folgenden Inhalt ein


    Code:
    @echo off 
    title LaraGonzo Contao
    setlocal enableextensions disabledelayedexpansion
      
    set "dirname=%~1"
    if "%dirname%"=="" exit
      
    if exist "%dirname%\" (
    goto :exit 
    ) 
    mkdir "%dirname%\public"
    cd "%dirname%\public"
    type NUL > index.php
    cls
    echo Downloading Contao, please wait...
    echo.
    curl -o "contao-manager.phar.php" https://download.contao.org/contao-manager/stable/contao-manager.phar
    :exit
    endlocal
    Der Code wurde freundlicherweise von Husnil Khatami aka laragonzo zur Verfügung gestellt.

    Ich hoffe, das hilft!
    barrierearmes Webdesign, HTML, CSS, Validierung, CO/BODA, Contao - Webdesign - Hosting - Schulung

  2. #202
    Alter Contao-Hase
    Registriert seit
    24.02.2021.
    Beiträge
    1.473
    Partner-ID
    11715
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von Skipman Beitrag anzeigen
    Code:
    curl -o "contao-manager.phar.php" https://download.contao.org/contao-manager/stable/contao-manager.phar
    :exit
    Tatsächlich muss man nur noch folgende Route nutzen (Jede URL würde den download triggern )
    Code:
    curl -o "contao-manager.phar.php" https://download.contao.org

  3. #203
    Contao-Nutzer Avatar von Skipman
    Registriert seit
    13.08.2011.
    Ort
    Nähe St. Pölten / Niederösterreich
    Beiträge
    55
    Contao-Projekt unterstützen

    Support Contao

    Standard Subdomain in Laragon einrichten

    Für den Fall, dass Ihr auch lokal mit Subdomains arbeiten wollt, habe ich hier eine Anleitung dazu verfasst.
    barrierearmes Webdesign, HTML, CSS, Validierung, CO/BODA, Contao - Webdesign - Hosting - Schulung

  4. #204
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    7.431
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Wäre das nicht auch was für die Doku?
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  5. #205
    Contao-Fan Avatar von Birden
    Registriert seit
    15.01.2011.
    Beiträge
    809

    Standard

    Hab larogon neu Aufgesetzt und jetzt ...

    php 8.3.16 ist installiert.

    Der Manager sagt:
    • PHP-Webprozess
      PHP Version 8.3.16, keine bekannten Probleme gefunden.
    • Serverkonfiguration
      PHP-Binary in C:\laragon\bin\php\php-8.3.16-Win32-vs16-x64\php.exe.
    • PHP Kommandozeilen-Programm
      PHP Version 8.3.16, keine bekannten Probleme gefunden.


    Verstehe ich die Fehlermeldung richtig, daß der nach PHP 8.4 sucht?

    Code:
    > Resolving dependencies using Composer Cloud v3.8.1
    [3.3MiB/0.12s] Loading composer repositories with package information
    [59.9MiB/6.79s] Updating dependencies
    [112.5MiB/7.89s] Your requirements could not be resolved to an installable set of packages.
    [112.5MiB/7.89s] 
      Problem 1
        - Root composer.json requires contao/newsletter-bundle 5.4.* -> satisfiable by contao/newsletter-bundle[5.4.0, ..., 5.4.13].
        - contao/core-bundle[5.4.0, ..., 5.4.13] require scheb/2fa-trusted-device ^6.0 || ^7.0 -> satisfiable by scheb/2fa-trusted-device[v6.0.0, ..., v6.13.1, v7.0.0, ..., v7.6.0].
        - contao/newsletter-bundle 5.4.0 requires contao/core-bundle 5.4.0 -> satisfiable by contao/core-bundle[5.4.0].
        - contao/newsletter-bundle 5.4.1 requires contao/core-bundle 5.4.1 -> satisfiable by contao/core-bundle[5.4.1].
        - contao/newsletter-bundle 5.4.10 requires contao/core-bundle 5.4.10 -> satisfiable by contao/core-bundle[5.4.10].
        - contao/newsletter-bundle 5.4.11 requires contao/core-bundle 5.4.11 -> satisfiable by contao/core-bundle[5.4.11].
        - contao/newsletter-bundle 5.4.12 requires contao/core-bundle 5.4.12 -> satisfiable by contao/core-bundle[5.4.12].
        - contao/newsletter-bundle 5.4.13 requires contao/core-bundle 5.4.13 -> satisfiable by contao/core-bundle[5.4.13].
        - contao/newsletter-bundle 5.4.2 requires contao/core-bundle 5.4.2 -> satisfiable by contao/core-bundle[5.4.2].
        - contao/newsletter-bundle 5.4.3 requires contao/core-bundle 5.4.3 -> satisfiable by contao/core-bundle[5.4.3].
        - contao/newsletter-bundle 5.4.4 requires contao/core-bundle 5.4.4 -> satisfiable by contao/core-bundle[5.4.4].
        - contao/newsletter-bundle 5.4.5 requires contao/core-bundle 5.4.5 -> satisfiable by contao/core-bundle[5.4.5].
        - contao/newsletter-bundle 5.4.6 requires contao/core-bundle 5.4.6 -> satisfiable by contao/core-bundle[5.4.6].
        - contao/newsletter-bundle 5.4.7 requires contao/core-bundle 5.4.7 -> satisfiable by contao/core-bundle[5.4.7].
        - contao/newsletter-bundle 5.4.8 requires contao/core-bundle 5.4.8 -> satisfiable by contao/core-bundle[5.4.8].
        - contao/newsletter-bundle 5.4.9 requires contao/core-bundle 5.4.9 -> satisfiable by contao/core-bundle[5.4.9].
        - lcobucci/jwt[4.1.0, ..., 4.3.0, 5.1.0, ..., 5.5.0] require ext-sodium * -> the ext-sodium package is disabled by your platform config. Enable it again with "composer config platform.ext-sodium --unset".
          Alternatively you can require one of these packages that provide the extension (or parts of it):
          - paragonie/sodium_compat_ext_sodium
          - juspay/expresscheckout-php-sdk Express Checkout SDK for PHP allows easy integration with Juspay's EC payments as a service platform
          - vufind/vufind A flexible discovery layer.
        - lcobucci/jwt 5.0.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.16.0) does not satisfy that requirement.
        - scheb/2fa-trusted-device[v6.0.0, ..., v6.3.0] require php ~8.0.0 || ~8.1.0 -> your php version (8.3.16.0) does not satisfy that requirement.
        - scheb/2fa-trusted-device[v6.10.0, ..., v6.13.1] require lcobucci/jwt ^4.1 || ^5.0 -> satisfiable by lcobucci/jwt[4.1.0, ..., 4.3.0, 5.0.0, ..., 5.5.0].
        - scheb/2fa-trusted-device[v6.13.0, v7.0.0, ..., v7.6.0] require lcobucci/jwt ^5.0 -> satisfiable by lcobucci/jwt[5.0.0, ..., 5.5.0].
        - scheb/2fa-trusted-device[v6.4.0, ..., v6.9.0] require php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.3.16.0) does not satisfy that requirement.
    To enable extensions, verify that they are enabled in your .ini files:
        - /etc/php/8.4/cli/php.ini
        - /etc/php/8.4/cli/conf.d/10-mysqlnd.ini
        - /etc/php/8.4/cli/conf.d/10-opcache.ini
        - /etc/php/8.4/cli/conf.d/10-pdo.ini
        - /etc/php/8.4/cli/conf.d/15-xml.ini
        - /etc/php/8.4/cli/conf.d/20-bcmath.ini
        - /etc/php/8.4/cli/conf.d/20-bz2.ini
        - /etc/php/8.4/cli/conf.d/20-calendar.ini
        - /etc/php/8.4/cli/conf.d/20-ctype.ini
        - /etc/php/8.4/cli/conf.d/20-curl.ini
        - /etc/php/8.4/cli/conf.d/20-dba.ini
        - /etc/php/8.4/cli/conf.d/20-dom.ini
        - /etc/php/8.4/cli/conf.d/20-exif.ini
        - /etc/php/8.4/cli/conf.d/20-ffi.ini
        - /etc/php/8.4/cli/conf.d/20-fileinfo.ini
        - /etc/php/8.4/cli/conf.d/20-ftp.ini
        - /etc/php/8.4/cli/conf.d/20-gd.ini
        - /etc/php/8.4/cli/conf.d/20-gettext.ini
        - /etc/php/8.4/cli/conf.d/20-gmagick.ini
        - /etc/php/8.4/cli/conf.d/20-gmp.ini
        - /etc/php/8.4/cli/conf.d/20-iconv.ini
        - /etc/php/8.4/cli/conf.d/20-igbinary.ini
        - /etc/php/8.4/cli/conf.d/20-intl.ini
        - /etc/php/8.4/cli/conf.d/20-ldap.ini
        - /etc/php/8.4/cli/conf.d/20-mbstring.ini
        - /etc/php/8.4/cli/conf.d/20-mysqli.ini
        - /etc/php/8.4/cli/conf.d/20-pdo_mysql.ini
        - /etc/php/8.4/cli/conf.d/20-pdo_sqlite.ini
        - /etc/php/8.4/cli/conf.d/20-phar.ini
        - /etc/php/8.4/cli/conf.d/20-posix.ini
        - /etc/php/8.4/cli/conf.d/20-readline.ini
        - /etc/php/8.4/cli/conf.d/20-shmop.ini
        - /etc/php/8.4/cli/conf.d/20-simplexml.ini
        - /etc/php/8.4/cli/conf.d/20-soap.ini
        - /etc/php/8.4/cli/conf.d/20-sockets.ini
        - /etc/php/8.4/cli/conf.d/20-sqlite3.ini
        - /etc/php/8.4/cli/conf.d/20-sysvmsg.ini
        - /etc/php/8.4/cli/conf.d/20-sysvsem.ini
        - /etc/php/8.4/cli/conf.d/20-sysvshm.ini
        - /etc/php/8.4/cli/conf.d/20-tokenizer.ini
        - /etc/php/8.4/cli/conf.d/20-xmlreader.ini
        - /etc/php/8.4/cli/conf.d/20-xmlwriter.ini
        - /etc/php/8.4/cli/conf.d/20-xsl.ini
        - /etc/php/8.4/cli/conf.d/20-zip.ini
        - /etc/php/8.4/cli/conf.d/25-redis.ini
        - /etc/php/8.4/cli/conf.d/50-serverctl.ini
    You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
    Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions.
    [112.5MiB/7.89s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [36.7MiB/7.96s] Memory usage: 36.68MB (peak: 149.11MB), time: 7.96s.
    [36.7MiB/7.96s] Finished Composer Cloud resolving.

  6. #206
    Alter Contao-Hase
    Registriert seit
    24.02.2021.
    Beiträge
    1.473
    Partner-ID
    11715
    Contao-Projekt unterstützen

    Support Contao

    Standard

    ext-sodium fehlt dir, deswegen geht er auf eine ältere Version einer Abhängigkeit, welche nur mit PHP 8.1 und 8.2 kompatibel ist, du benutzt aber 8.3.

    Du musst hier als einfach nur ext-sodium aktivieren.
    Geändert von zoglo (16.02.2025 um 16:02 Uhr)

  7. #207
    Contao-Fan Avatar von Birden
    Registriert seit
    15.01.2011.
    Beiträge
    809

    Standard

    Besten Dank!

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 3 (Registrierte Benutzer: 0, Gäste: 3)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •