React MD v1 w/ Gatsby No!

React MD v1 w/ Gatsby No!

4 years ago, November 2, 2020

Please avoid using ReactMD v1 with GatsbyJs, since ReactMD 2 is out with full rewrite, that could be an option if you want to stick with ReactMD. I had started to port this blog from WordPress to Gatsby and I had used React-MD ‘s Gatsby starter to start with the project. Because of issues in […]

Gatsby build fails @ gatsby-source-wordpress

Gatsby build fails @ gatsby-source-wordpress

4 years ago, October 31, 2020

While trying to build my blog, the build started failing whenever I used my live WordPress site’s graphql endpoint. It resulted in the following error. It was clear that the site was not letting the parallel traffic. There is no way for me to configure my WordPress site to accept more traffic but to find […]

ML5 with Webpack and TypeScript

ML5 with Webpack and TypeScript

4 years ago, October 31, 2020

Why TypeScript? TypeScript allows you to add static typing to your javascript, which adds a possibility to type check on your code during compile time. Even better your IDE itself will be able to tell you if there are any issues with your data types, etc in realtime. Additionally, it can be used by your […]

Gatsby with WordPress

Gatsby with WordPress

4 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

4 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

4 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 […]

© 2024 Anil Maharjan