2022-07-19 14:00:09 +02:00
|
|
|
[![Build Status](https://ci.basehosts.de/api/badges/OrangeJungle/CdsConnector/status.svg)](https://ci.basehosts.de/OrangeJungle/CdsConnector)
|
|
|
|
|
2022-06-22 11:41:56 +02:00
|
|
|
# CdsConnector
|
2022-06-22 17:01:26 +02:00
|
|
|
================
|
|
|
|
|
2023-09-27 15:07:34 +02:00
|
|
|
Connector zwischen Hiltes und JTL Wawi
|
2022-06-22 17:01:26 +02:00
|
|
|
|
|
|
|
# Installieren
|
|
|
|
--------------
|
|
|
|
|
|
|
|
> git clone https://gitbase.de/OrangeJungle/CdsConnector.git
|
|
|
|
|
|
|
|
> cd CdsConnector
|
|
|
|
|
|
|
|
Installiere Abhängigkeiten
|
|
|
|
> make install
|
|
|
|
|
2023-06-14 17:02:24 +02:00
|
|
|
Erstelle .env.local Datei und füge folgendes ein:
|
|
|
|
> DATABASE_URL=mysql://root:root@mysql:3306/cds_connector
|
|
|
|
|
2022-06-22 17:01:26 +02:00
|
|
|
Starte MySQL-Server:
|
2022-07-19 15:39:38 +02:00
|
|
|
> docker compose up
|
2022-06-22 11:41:56 +02:00
|
|
|
|
2023-02-24 09:17:56 +01:00
|
|
|
Erstelle Datenbank (nicht die Tabellen)
|
2023-02-28 11:27:27 +01:00
|
|
|
> bin/console doctrine:database:create
|
2023-02-24 09:20:07 +01:00
|
|
|
|
|
|
|
Erstelle Tabellen
|
|
|
|
> bin/console doctrine:migrations:migrate
|
2023-01-30 15:36:20 +01:00
|
|
|
|
2023-02-24 09:17:56 +01:00
|
|
|
Update der Datenbank
|
|
|
|
> bin/console doctrine:migrations:execute
|
|
|
|
|
2023-01-30 15:36:20 +01:00
|
|
|
Starte Server
|
|
|
|
> make dev-server
|
|
|
|
|
|
|
|
API-Übersicht
|
2023-02-24 09:17:56 +01:00
|
|
|
> https://127.0.0.1:8000/api
|
|
|
|
|
|
|
|
Update Symphony
|
|
|
|
> composer update
|
|
|
|
|
|
|
|
# Benutzen
|
|
|
|
--------------
|
|
|
|
|
|
|
|
Hiltes Import
|
|
|
|
> bin/console hiltes:import
|