Drupal template
A simple composer file to get you started with the Headless Ninja Starterkit, (*1)
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes., (*2)
Prerequisites
Installing
Before you start, you need to make sure Composer is installed on your computer. If you run composer -V
in your terminal and see something like Composer version 1.x.x
popping up, you're ready to go., (*3)
You install our distribution the following ways:, (*4)
Composer
Create a directory for your project and run the following command in your terminal:, (*5)
composer create-project headless-ninja/drupal-template -s dev --remove-vcs
This will download a basic Drupal project with HN and other nice-to-have modules installed., (*6)
Git
Clone this repository, (*7)
git clone https://github.com/headless-ninja/drupal-template.git hn-drupal-template
Go to the directory of the project. Start with composer install
, this will download a basic Drupal project with HN and other nice-to-have modules installed., (*8)
Start server
To start the php server, run composer run start-server --timeout 0
in your terminal. You will need to keep this command running while you're developing., (*9)
In your terminal, the URL of your Drupal installation will show up. Open that URL in your browser and follow the on-screen instructions to install the HN Starterskit., (*10)
Running the tests
Yet to come, (*11)
Built With