-
You need to have docker installed, preferably the latest version: https://docs.docker.com/engine/install/.
-
Open new terminal in the project folder.
-
Initialize the docker images using
docker compose up -d
command so docker will setup all required containers to run the app. -
To install all needed packages to the vendor directory use
composer install
. -
Install pimcore and initialize the DB
docker compose exec php vendor/bin/pimcore-install
. -
Next install required bundles using:
bin/console pimcore:bundle:install PimcoreDataHubBundle
,bin/console pimcore:bundle:install PimcoreDataImporterBundle
-
Open pimcore admin panel in Your browser http://localhost:8080/admin and log in using credentials chosen at installation.
- Find the
import
folder inside project. - Drag and drop the folder inside
assets/home
directory of your GUI.
- It is reccomended to first import the
airports
so model relations can be properly established.
-
To start importing the data you need to manualy start the data import from datahub menu, choose desired import then go into
execution
label and clickstart
. -
If everything was properly set, the desired data should be importing into the specified directory.
- You can also import the data using command line, for that use inside project folder:
-
Command used to prepare the file data for import
docker compose exec php bin/console datahub:data-importer:prepare-import <name of config you want to prepare for import>
. -
Command used to start the data import
docker compose exec php bin/console datahub:data-importer:datahub:data-importer:process-queue-sequential
.