From fcc6614835e57754d905e993b995ba1c39e94b13 Mon Sep 17 00:00:00 2001 From: Amigo <49749100+aamigo@users.noreply.github.com> Date: Thu, 3 Oct 2019 15:54:40 +0200 Subject: [PATCH] Updated 072 Setup Local Development Environment with Bitnami (markdown) --- ...al-Development-Environment-with-Bitnami.md | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/072-Setup-Local-Development-Environment-with-Bitnami.md b/072-Setup-Local-Development-Environment-with-Bitnami.md index 7cbd4b6..26261ee 100644 --- a/072-Setup-Local-Development-Environment-with-Bitnami.md +++ b/072-Setup-Local-Development-Environment-with-Bitnami.md @@ -25,8 +25,28 @@ If you are using Microsoft, they have executable (exe) file, you can double clic It's going to run the installer and deploy everything you need. The PHP, the MySQL, Joomla with its Database. It's really setting everything up for you. If you are going to do local development, I suggest using this path because it takes care of everything for you. Do it in a way that it doesn't affect your already existing PHP, and SQL and everything else. It packages it into a folder which [00:06:58](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m58s) I'm using. We're almost there. It is doing the MySQL, Database, creating the databases. This can take long depending on your systems resources. Removing the things that it doesn't need. It's setting up and uninstaller script. If you didn't like this, you could then undo it. [00:07:46](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m46s) We are done. Now you can launch the Bitnami Joomla Stack. Click finish. There we go. We have it installed. -### Access Joomla +### Access Joomla - Joomla Website - Administrator - Login [00:08:10](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m10s) -To access the Joomla sign, I'm going to use my Local IP, and add Joomla and there is our Joomla website. And obviously to access the admin Admin There we go now to login here they have default passwords and stuff set Basically the one that you typed in during the installation And there we go we are Here and we want to get JCB So we install the The web tab and we type here JCB enter And it comes up we click on it And we say install It usually will grab the master branch which Is usually in sync with the latest release [00:09:00](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m00s) And we install It's also not counting these downloads so that's one of the reasons we don't have any idea How many are using JCB at the moment Ok once it's installed You can actually go and open JCB We are now on a little Screen issue here I just downsize a bit But here we go let's grab A demo package by going to install JCB packages [00:09:37](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m37s) And here is VDM packages And there's the community packages And we can Grab Any of these let's just take the Hello World And get the package so as you can see I've done nothing I've just deployed Bitnami, I haven't touched any other feature of PHP or anything else it just grabs the package And it validates the checks sum for us we force it to update And we click continue [00:10:13](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m13s) And now it's importing the hello world component And there we go it's done Just to show we quickly go here and we compile Hello World And install And here we go Hello World is there And it is working We can add a greeting And It's It's doing everything is expected [00:10:40](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m40s) We also can check the front end Main menu Change the main menu by Using the Hello World greetings And save and close Just before we do that we go back to Hello World we opened the options check out the permissions we search for Site We see there is two and they're already set to allowed greetings if not you just change them to allowed for the public [00:11:14](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m14s) And that is the the two areas you would like And then you can click here And there is some text you see it We have not Given the public actually the edit rights so it will say that it's not available But it can actually check some text and go back to home So we see that the Hello World tutorial is functioning on our Bitnami Within How long did this take 11 minutes [00:11:46](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m46s) Anyway Thanks for watching that just a quick demonstration of setting up a local developing environment with Bitnami And the reason why I take this path Is primarily because of what I'll show you next Here you have the bitnami folder remember we've typed it in And there's your Apache There is all the files And You want to go into the apps folder Then into the Joomla folder [00:12:17](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m17s) And into the htDocs folder in here is your whole Joomla website and you can you can open And go in and actually Work on your components And edit it's files so this this is really the biggest reason I want to be able to Easily access the files and work with them And so it is it's very doable here The other feature which just comes out of the box by Default Is actually if you go back enough You'll see It is that it has [00:12:54](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m54s) In the apps folder, you can see that has the PHP my admin installed So that means You could type here PHP my admin And be right there able to access PHP my admin and check out of databases This all Bitnami did out of the box without real complications anyway that's the Reason I like using bitnami on my local developing environment and they are quite quick With the updates you can actually if we go back to that folder You'll see that it has your and uninstall and a manage Files [00:13:39](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h13m39s) So you could run this one to uninstall and you can run this one to manage the environment Which does actually check whether the server is up the configurations and Civil events and stuff like that You can stop all And then the other one which I like is that you can click here Uninstall Do you want to uninstall Bitnami Joomla stack and all it's models. yes And it starts to uninstall everything removes everything so you could run This do some work save your components export your JCB packages and then completely This thing and [00:14:28](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h14m28s) Move on But it's dangerous do keep in mind it really removes everything Ok well that's this is now the end +To access the Joomla sign, I'm going to use my Local IP, and add Joomla and there is our Joomla website. To access the Administrator, there we go. To login they have default passwords and stuff set. Basically the one that you typed in during the installation. And there we go. We want to have JCB. We install the web tab and we type JCB enter. It comes up, click on it and install. It will grab the master branch which is in sync with the latest release. [00:09:00](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m00s) Install. It's also not counting these downloads. That's one of the reasons, we don't have any idea how many are using JCB at the moment. + +### JCB Installed - Grab Packages - Importing Packages + +[00:09:13](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m13s) + +Once it's installed you can go and open JCB. We are now on a little screen issue, I'm downsize a bit. Let's grab a demo package by going to install JCB packages. There is VDM Packages and JCB Community Packages. We can grab any of these. Take the Hello World and get the package. As you can see I've done nothing. I've deployed Bitnami, I haven't touched any other feature of PHP or anything else. It grabs the package and it validates the checksum for us, we force it to update. Click continue. [00:10:13](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m13s) It's importing the Hello World component. And there we go, it's done. W quickly compile Hello World and install. Hello World is there and it is working. + +### Doing Everything That Is Expected + +[00:10:40](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m40s) + +We can add a greeting, and it's doing everything that is expected. We can also check the front-end, Main menu. Change the main menu by using the Hello World greetings. Save and close. Just before we do that, we can go back to Hello World, we open the options, check out the permissions. We search for Site. We will see there is two and they're already set to allowed Greetings. If not you change them to allowed for the public. [00:11:14](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m14s) That is the the two areas you would like. You can click Sign. There is some text you will see it. We have not given the public the edit rights. It will say that it's not available, but it can check some text and go back to home. We will see that the Hello World tutorial is functioning on our Bitnami within 11 minutes. [00:11:46](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m46s) + +That was a quick demonstration of setting up a local developing environment with Bitnami. The reason why I take this path is primarily because of what I'll show you next. Here you have the Bitnami folder, remember we've typed it in. There's your Apache. There is all the files. If you want to go into the apps folder then into the Joomla folder [00:12:17](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m17s) and into the htDocs folder. Here is your whole Joomla website and you can you can open and go in and work on your components, edit its files. This is really the biggest reason I want to be able to easily access the files and work with them. It is very doable here. + +### New Feature - phpMyAdmin + +[00:12:40](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m40s) + +The other feature which just comes out of the box by default is if you go back to Joomla Bitnami, You'll see in the apps folder, you can see that it have the phpmyadmin installed. You could type in the URL phpmyadmin and be right there able to access phpMyAdmin and check out its databases. This all Bitnami did out of the box without real complications. That's the reason I like using bitnami on my local developing environment. They are quite quick with the updates. If you go back to that folder, you'll see that it has uninstall and a manage files. [00:13:39](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h13m39s) You could run this one to uninstall and you can run this one to manage the environment. Which does check whether the server is up, the configurations and Civil events and stuff like that. You can stop all. The other one which I like is that you can click Uninstall. Do you want to uninstall Bitnami Joomla stack and all it's models, yes. It starts to uninstall everything, removes everything. You could run this, do some work. Save your components, export your JCB packages and then complete this thing and [00:14:28](https://www.youtube.com/watch?v=zpS52k89YcI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h14m28s) move on. But it's dangerous, do keep in mind it really removes everything.