Gatsby with WordPress

Gatsby with WordPress

5 years ago, October 26, 2020

I had this idea of having a Gatsby frontend for my WordPress blog since I started learning Gatsby in May 2019. I even wrote a blog about it. But it had not been straight forward. Initially, I used gatsby-source-graphql and wp-graphql plugin in WordPress. WP-graphql plugin exposed the data in WordPress in a graphql endpoint, […]

Update siteurl and home options in wordpress

5 years ago, October 25, 2020

When working with Gatsby with WordPress, I had to dump and import my WordPress database multiple times. Either trying out new host, or some data has updated on my local and I need it in production or vice-versa. Every time I need to import SQL dump, I had to manually update the two options in […]

Docker compose update php.ini

Docker compose update php.ini

5 years ago, October 24, 2020

How to configure the php.ini in your docker container? Here is how you can update your config files like php.ini, httpd.conf, php-fpm.conf, .htaccess, etc in a docker container through the host filesystem. On the root folder of your project where your docker-compose.yml is, add a new file to replace some config file, in your PHP […]

Serverless Framework

6 years ago, October 17, 2019

TASK: Static website http://cocktail.review.com.np/ Search bar does not work. Add a data endpoint to serve drinks data to the autocomplete field. Prerequisites NodeJs AWS account AWS CLI Install Serverless cli # Install the serverless cli npm install -g serverless Login to Serverless serverless login Bootstrap a new service serverless Follow the setup instruction in your […]

© 2026 Anil Maharjan