Modul 151 - Simon W. und Philipp S.
Installieren Sie das folgende Programm:
Starten Sie in XAMPP die Module Apache
und MySQL
.
Um die Website produktiv einzusetzen können Sie die Datenbank MariaDB direkt installieren. Eine Anleitung dazu gibt es etwa hier:
Auch den Apache Server können Sie direkt installieren. Eine Anleitung dazu gibt es etwa hier:
Änder sie in der Datei db/webshop.sql
das Passwor des Benutzers 'webshop' auf ein privates und sichers Passwort.
Importieren Sie mit dem folgenden Befehl die Datenbank aus der Datei db/webshop.sql
in der MySQL Datenbank:
create database webshop;
use webshop;
source db/webshop.sql;
source db/products.sql;
Passen Sie die Zugangsdaten in der Datei app/universal/dbconnector.php
an.
Klonen Sie mit dem folgenden Befehl das Repository in einen beliebigen Ordner:
git clone https://github.com/immernowach/m151_webshop
Kopieren Sie den Inhalt des Ordners app
in den Ordner htdocs
von XAMPP.
Nun können Sie den Webshop unter http://localhost/ aufrufen.