Drupal 8 Starter template
The starter template serves as a starting point for every new project. By using this, you will have an up and running Drupal 8 installation, local development environment with Docker, initialize an empty Git repository and basic build configuration including paragraphs, content types, media and various other modules.
The repository which holds all the files: https://bitbucket.org/newdigitalpartnership/d8-starter-template
To use the starter template, follow these steps:
Clone the repository to your machine.
git clone [email protected]:newdigitalpartnership/d8-starter-template.git PROJECT_NAME && cd PROJECT_NAME
There is a bash script that handles all the operations. Use that to start the procedure.
bash init/initialize.sh
You can now also remove the init folder, because it's not needed anymore.
rm -rf init
During the script run time, the script will prompt you for a few information such as the project name, project type, email and Git info. Make sure to read those thoroughly and fill them out properly.
You are finished, visit the site and login
Once the script finished you will have a fully functional Drupal site with some prebuilt configuration to start a new project on. You can visit the new site at PROJECT_NAME.docker.localhost:8000 and login using the credentials webmaster/123qwe.
Components
For reference here is a list of components the starter template provides:
- Fully functional Docker based development environment consisting of:
- LEMP stack
- PHP 7.1 with Xdebug enabled
- PhpMyAdmin
- Solr
- Drush, Drupal console
- Clean Drupal 8 installation with some basic configuration:
- Content types
- Paragraph card types
- Media bundles and library management
- Development modules, settings and services
- Custom module providing DS fields for cards and nodes
- A clean and fresh Git repository