Imran you're spoiling me this year - Gatspy, Advanced WP theme, WooCommerce, Gutenberg and now this? You're God sent, thank you man. Really appreciated
Love your tutorial! I and my colleagues at my office love your tutorials and keep looking forward to new ones. Your tutorials are holistic, cover all possibilities, cause & effects, and are to the point. Thank you, Imran.
Love the tutorials. I noticed that the repository has changed since this video was uploaded. I had an error come up that I solved by commenting out the "build: ./php" part of the wordpress section of docker-compose.yml: wordpress: depends_on: - mysql - composer # build: ./php
Hi Imran, I can not get docker to work, so my question is, what is the advantage of using it and will it make a difference in the production build? In case you wondered what the error was it is something to do with the Build: ./php line. I have tried the methods below but to no success.
Is this set up still valid? None of the plug-ins I add in composer.Json are added? Most of them don’t show either when manually searching Wordpress plugin store?
They all exist in WordPress directory. Try adding them manually from here github.com/imranhsayed/nextjs-headless-wordpress/tree/main/backend%2Fplugins-collection
I have explained the advantage of using Docker here th-cam.com/video/uYFa57SrYzE/w-d-xo.html You need to know the basics of React. However I have explained everything from scratch so you should be able to follow along.
when i run this command docker-compose -f backend... it gives me that error docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.') [13896] Failed to execute script docker-compose
:-( Spent ages trying to get Docker to play well. I would love to spend some time learning it with WP but I ended up having to delete all of the plugins and reinstalling them from WP backend. I got a lot of errors suggesting to run the composer command to install plugins.
Hi Imran, I want say thank you , this is really helpful. And I have question, What's the advantage of the development react in WordPress? Faster, more security, or ,what else?
For some reason Docker is installing php 8 in the container, and that makes the composer installation to fail because some dependencies need PHP 7.0 or lesser. I always find this crap with Docker, that is why every time I try to change from my good old Xampp to it, I just quit. I don't want to deal with configuration errors all the time, even less when I'm starting with the development of a project and time is of the essence. This time I will persevere, but I don't think the idea of Docker beeing crap for WordPress will leave my mind.
why there are two volumes under mysql? - if i remove the last volum then mysql folder is not there.. it's giving me an error mysql: image: mysql:8.0 volumes: - mysql_data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASSWORD: wordpress volumes: - ./mysql:/var/lib/mysql
If you're having trouble getting your Docker containers to run, clone the repo listed in the description: github.com/imranhsayed/nextjs-headless-wordpress/tree/feature/youtube-tutorial Then cd into 'backend' and run: docker-compose -f docker-compose.yml up -d After that's complete, cd into 'backend/wordpress' and run: composer install
Imran you're spoiling me this year - Gatspy, Advanced WP theme, WooCommerce, Gutenberg and now this? You're God sent, thank you man. Really appreciated
Enjoy! More advanced and cool stuff on the way that will blow your mind.
Thank you!
@@Codeytek Wow!!!!
Love your tutorial! I and my colleagues at my office love your tutorials and keep looking forward to new ones. Your tutorials are holistic, cover all possibilities, cause & effects, and are to the point. Thank you, Imran.
Welcome
I upgraded my pc to do this course, hopefully, it would be worth the investment.
Nice tutorial.
Thanks for sharing
One of the best IT tutorials I ever seen. Thank you for it, it helps alot.
Thanks
I like the way you teach! Carlo
Thanks Carlo
really nice !!!
It's easy to use it with nextJS 14 ?
Help!!
How much should i charge a client to build only the product cart and its woocomerce backend
Pls keep font size big.
It's good to see in mobile
can you do a full tutorial of frontity and gutenberg
Hey there, great video! Really useful! Is there a way to deploy this on a shared host or is it necessary to use a VPS? For instance, with Hostinger
Love the tutorials. I noticed that the repository has changed since this video was uploaded. I had an error come up that I solved by commenting out the "build: ./php" part of the wordpress section of docker-compose.yml:
wordpress:
depends_on:
- mysql
- composer
# build: ./php
Hey Ryan, thanks for the advice. Did you notice any problems further down the line?
when i add it in my code, i have an error
Thanks man
Hi Imran, I can not get docker to work, so my question is, what is the advantage of using it and will it make a difference in the production build? In case you wondered what the error was it is something to do with the Build: ./php line. I have tried the methods below but to no success.
U can use ur own WordPress setup environment. Does not have to be docker.
Is this set up still valid? None of the plug-ins I add in composer.Json are added? Most of them don’t show either when manually searching Wordpress plugin store?
They all exist in WordPress directory. Try adding them manually from here github.com/imranhsayed/nextjs-headless-wordpress/tree/main/backend%2Fplugins-collection
@@Codeytek Yo man we getting error on the docker installation cause of php. Would you mind to answer for you audience please? :) Would help a lot
Will you also show how to deploy this Headless WP? :)
Is this the complete playlist?
What is the real advantage of using docker for wordpress development? we do we need to learn next.js and react before going through this series?
I have explained the advantage of using Docker here
th-cam.com/video/uYFa57SrYzE/w-d-xo.html
You need to know the basics of React. However I have explained everything from scratch so you should be able to follow along.
when i run this command docker-compose -f backend... it gives me that error docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')
[13896] Failed to execute script docker-compose
please make one video on wordpress blog comment section in next js.
It will probably be in the Nextjs WooCommerce REST API series.
:-( Spent ages trying to get Docker to play well. I would love to spend some time learning it with WP but I ended up having to delete all of the plugins and reinstalling them from WP backend. I got a lot of errors suggesting to run the composer command to install plugins.
how can i get posts by category?
Would love to know this too :)
how to implement contact form?
Hi Imran, I want say thank you , this is really helpful. And I have question, What's the advantage of the development react in WordPress? Faster, more security, or ,what else?
That's pretty much it, but that's also one helluva advantage: a faster, more secure website..
How to set PHP Version in phpmyadmin/phpmyadmin?
Please update video
For some reason Docker is installing php 8 in the container, and that makes the composer installation to fail because some dependencies need PHP 7.0 or lesser. I always find this crap with Docker, that is why every time I try to change from my good old Xampp to it, I just quit. I don't want to deal with configuration errors all the time, even less when I'm starting with the development of a project and time is of the essence. This time I will persevere, but I don't think the idea of Docker beeing crap for WordPress will leave my mind.
It did't work for me I get this error "wordpress Error" when i run "docker-composer -f backend/docker-compose.yml up"
Have you fixed this error?
why there are two volumes under mysql? - if i remove the last volum then mysql folder is not there.. it's giving me an error
mysql:
image: mysql:8.0
volumes:
- mysql_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
volumes:
- ./mysql:/var/lib/mysql
If you're having trouble getting your Docker containers to run, clone the repo listed in the description:
github.com/imranhsayed/nextjs-headless-wordpress/tree/feature/youtube-tutorial
Then cd into 'backend' and run:
docker-compose -f docker-compose.yml up -d
After that's complete, cd into 'backend/wordpress' and run:
composer install
After "docker-compose -f backend'docker-compose.yml up" I get this "quote>", can someone help Tnx.
I just add php folder in backend and it works