Project to teach others with Drupal 9+
You have so many options to set up your work environment, I recommend Ubuntu with Dockerizer or ddev, but that is your choice.
Links:
- Drupal: Set up a local development environment. https://www.drupal.org/docs/develop/local-server-setup/linux-development-environments/set-up-a-local-development-drupal-0/set-up-a-local-development-environment
- Dockerizer: is a Drupal docker development tool that allows you to run dockerized LAMP projects. https://frontid.github.io/dockerizer/
- ddev: is a general porpouse docker development tool. https://ddev.com/
I'll use Dockerizer to document.
- Create a new folder in your home called
Projects
- Enter in
~/Projects
and executedk new learning_project
- Execute
cd learning_project
- Clone this repository with
git clone git@github.com:PSF1/learning_project.git .
- Now execute containers with
dk start traefik && dk start
- Install dependencies with
composer install
- And install database with
drush sql-query --file=/var/www/html/web/dbinit.sql
- Clear cache with
drush cr
- Then execute ´launch´, and that is...
The new project has a pre-created user, Admin, with password admin.
We will create issues, and you can take it to do the work commenting.
After you get your issue, you must create a new branch with the name
issue number-issue label
, for example, 1-Install_admin-toolbar
Commit your changes to it and push. Then create a new merge request
to branch dev
and wait while I review it.