Here is a list of tasks which I did in order to get familiar with Drupal development. I followed steps on the Drupal GSoC ladder.
Installing Drupal locally
Using git I installed the newest version of Drupal 8-dev and hosted in on my local Apache server. This is the version where I worked on my own sandbox module as well as submitting patches.
Drush is a neat CLI tool to control Drupal, really useful when developing and I need to get fresh instances of Drupal. I installed it via composer global command and then ran this command so I am able to use it as a global command ( and added it to ~/.bashrc). It helped me to automate the installation process, changing themes and enabling modules from the command line. I also started using it in my freelancing work on a Drupal website.
I learned a lot about git when going through this ladder. I learned a git diff command which is useful when creating patches with all the changes so they can be easily applied after being reviewed.
I also learned a lot more about the process of pulling, applying changes and then committing code.
By doing this ladder I also learned about creating issues – this one as a test. I learned about the process of applying patches – as in this sandbox issue. I learned about the process of submitting patches and community reviewing and applying them. When looking for issues to fix I also had a look at quite few modules and another patches which helped me to understand more about Drupal.
Own sandbox module
Drupal core ladder
More to learn
There are things that I still need to learn about in order to fully finish that tutorial.
- Writing tests for Drupal
- Learn more about writing modules
- Learn more about Drupal’s core and how it works