Please note: this repository contains code that is necessary to generate a new Drupal 8 project, please read carefully this README.md. Do not clone this repository.
You need to have the following software installed on your local development environment:
First of all choose carefully the name of your new project, it should respect the following convention:
<dg-name>-<project-id>-reference
After that contact the QA team, they will create for you a new repository at:
https://github.com/ec-europa/<dg-name>-<project-id>-reference
Then generate your new Drupal 8 project codebase by running the following command:
docker run --rm -ti -v $PWD:/var/www/html -w /var/www/html fpfis/httpd-php-dev:7.3 composer create-project vever001/drupal-site-template --stability=dev --remove-vcs <dg-name>-<project-id>-reference
This will download this starterkit into the <dg-name>-<project-id>-reference
folder and a
wizard will ask you for the project name and your organisation. It will use this
information to personalize your project's configuration files.
The installer will then download all dependencies for the project. This process takes several minutes. At the end you will be asked whether to remove the existing version history. It is recommended to confirm this question so that you can start your project with a clean slate.
After completing the command above you can push the content of <dg-name>-<project-id>-reference
to the GitHub repository created for you by the QA team.
- The steps to get your new site up and running can be found in
<dg-name>-<project-id>-reference/README.md
. - Check the OpenEuropa Documentation for a list of available components, best practices, etc.
- Make sure you master the concepts of Configuration Management and the related development workflow in Drupal 8.
No, this repository will only generate your new project's codebase, you then need to push the generated codebase to a dedicated repository, as explained above.