Drupal - Using Field Groups for Visually Separating multiple field set (No Coding Required)
Introduction You are having a form having multiple fields. When you render a…
March 03, 2018
I have been using drupal 7 from a long time, and setting up a dev environment always felt bit tricky. Thanks to docker, life becomes easier now.
In this post, I will show how I setup my drupal 7 environment from my production environment. And, do any development work.
And, I have taken backup from mariadb running. I will use this backup in next steps.
Also, you can set a custom password for your database as well. ReplaceMYMYSQLPASSWORD with the desired password.
Till now, I have not imported database yet.
It should start three container. You can see these three by running docker ps command.
These steps you have to do first time only.
Now, open localhost:8084, where we have configured phpmyadmin to open up.
All of the above steps needs to be done only once. Every time, you want to start your stack, you need to run following command:
docker-compose up -d
And, to stop stack:
docker-compose down
Note, by stopping stack. All of your drupal file changes, database changes, theming changes will remain. Since, we have passed the local disk paths.
Everytime, you start the stack, you will get all the changes from last time.
Enjoy.
Introduction You are having a form having multiple fields. When you render a…
Youtube APIs are great way to fetch details about video or channels. I’ve…
Introduction Npm has a tool called: npm audit which reports if your packages or…
While writing JUnit test cases, we encounter cases like we want to initialize a…
Introduction In this post, we will see: use Grafana Community Edition (Free…
One of the biggest task while writing article or blog is to have right set of…
Introduction Strapi is a backend system provides basic crud operations with…
Introduction I had to create many repositories in an Github organization. I…
Introduction I was trying to download some youtube videos for my kids. As I have…
Introduction In this post, we will explore some useful command line options for…
Introduction In this post, we will see how we can apply a patch to Python and…
Introduction We will introduce a Package Manager for Windows: . In automations…