Below we explain the difference between setting up a new project and setting up an existing project:
To instantiate a new project to running as a subsite you only have to execute one command which will perform multiple steps for you automatically.
composer create-project ec-europa/subsite --stability=dev <dg-name>-<project-id>-reference
docker-compose up -d
docker-compose exec web vendor/bin/run
To install locally a project running Toolkit 4 you should run the following commands:
git clone [email protected]:ec-europa/<repository-name>.git
docker-compose up -d
docker-compose exec web composer install
docker-compose exec web vendor/bin/run