I'm so glad to hear that you found the tutorial helpful and easy to follow! If you have any further questions or run into any issues in the future, don't hesitate to ask. Remember, every great project starts with a small step. Happy coding and best of luck with your website! 🚀🌐
I'd add that it takes some time (up to 10 minutes) for hostinger to download and deploy the files from github to your working web area. This stumped me for a while as there is no notification that any action is currently taking place nor is there notice that the deployment is complete.
That's a fantastic point, and I appreciate you bringing it up! The time it takes for Hostinger to download and deploy the files from GitHub can indeed vary and can be a source of confusion, especially for those who are new to this. I'll keep this in mind for future videos to ensure that viewers are aware of this aspect. Thanks so much for watching! If you find the channel helpful, please consider subscribing to AyyazTech, and don't forget to like and share the video!
I'm glad you found the video helpful! 😊 Here are a few more videos you might find useful: - How to deploy react app to hostinger ruclips.net/video/m_zi2RfmI4M/видео.html - How to deploy Angular project on Linux server? ruclips.net/video/fzVuI6vNvn0/видео.html - How to deploy Angular 16 app to firebase? ruclips.net/video/l23HO75V8bo/видео.html Additionally, you might find these blog articles interesting: - How to force push to GitHub: A Step-by-Step Guide www.ayyaztech.com/blog/how-to-force-push-to-github-a-step-by-step-guide - How to create a Draggable Window using JavaScript and Tailwind CSS | Beginner-Friendly Tutorial www.ayyaztech.com/blog/how-to-create-a-draggable-window-using-javascript-and-tailwind-css-a-beginner-friendly-tutorial - How to set background image in Angular 16? www.ayyaztech.com/blog/how-to-set-background-image-in-angular-16 Don't forget to like, share, and subscribe for more tech tutorials and tips! Click the bell icon to get notified of new videos. 🔔 If you have any specific topics you want me to cover, let me know!
You're welcome! 😊 I'm glad you found the video helpful. Don't forget to subscribe to the channel for more tutorials! Here are a few more videos that you might find interesting: Mastering GitHub Downloads: Files, Directories, and Repositories ruclips.net/video/1ZnUpoTWpZg/видео.html How to Compare Two Branches in GitHub - A Step-by-Step Guide ruclips.net/video/chTzL8YJNaw/видео.html How to Commit Changes to Your GitHub Repository - A Step-by-Step Guide ruclips.net/video/0fsfRCBNM4I/видео.html Additionally, you might find these articles on my blog useful: How to Force Push to GitHub: A Step-by-Step Guide www.ayyaztech.com/blog/how-to-force-push-to-github-a-step-by-step-guide How to Fork a Repository on GitHub: A Step-by-Step Guide www.ayyaztech.com/blog/how-to-fork-a-repository-on-github-a-step-by-step-guide Make sure to like, share, and click the bell icon for notifications! 🔔 Happy coding! 🚀
You're welcome! If you have any questions or need further assistance, feel free to ask. Don't forget to subscribe, like, share, and comment to stay updated with our latest content. Happy coding! 😊👨💻
Which type of hosting you are using on hostinger? I would like to use hostinger for simple angular app (with DB) and I am not sure if I need VPS or shared hosting will be enough.
If there is not much traffic and your backend server is light weight then you can just buy shared hosting. That is a good start. But later on you can easily upgrade if needed.
Thank you for your positive feedback! We're delighted to hear that you found the video helpful. If you have any questions or if there's a specific topic you'd like us to cover in the future, feel free to let us know. Don't forget to like, share, and subscribe to stay updated with our content.
how to install the dependencies once after copied files from github to hostinger? In my hostinger plan I dont have ssh access enabled. Is there any other way to install?
The video on the AyyazTech RUclips channel explains how to upload a website to Hostinger using GitHub, but it doesn't specifically address how to install dependencies if you don't have SSH access. In situations where SSH access isn't available on your hosting plan, such as with some shared hosting environments, you have a few alternative options: Manual Upload of Dependencies: If your project dependencies are not too complex or too many, you can install them locally and then upload the entire project, including the node_modules directory (or equivalent for other languages), to your host. This method can be cumbersome and is not recommended for larger projects due to the size and number of files in dependency directories. Custom Scripting: Some hosting providers offer the ability to run custom scripts after uploading your files. You can write a script to install dependencies and set it to run after you upload your project files. Check Hostinger's documentation or support to see if this is an option. Upgrade Your Hosting Plan: If your project requires frequent dependency updates or complex setup processes, consider upgrading to a hosting plan that provides SSH access. This would be a more scalable solution and is worth the investment for more complex projects. Use a CI/CD Pipeline: If Hostinger supports Continuous Integration/Continuous Deployment (CI/CD) pipelines, you can set up a pipeline with a service like GitHub Actions, GitLab CI/CD, or Bitbucket Pipelines. These tools can run your build process, install dependencies, and push the complete, ready-to-run build to your hosting space. Local Installation & Build: Install and build your project locally or in a CI/CD pipeline, then upload the built version (which includes all the dependencies) to Hostinger. This approach is often used for frontend projects built with tools like Webpack, where the final upload is a set of static files. Remember, the method you choose will depend on your project's complexity and the limitations of your hosting plan. If you found this information helpful, consider subscribing to AyyazTech for more tutorials and tech tips. If you have any specific questions or run into problems, feel free to leave a comment below the video, and we'll do our best to help you out. Happy coding! 👨💻🌐🚀
thanks but what i am looking for is a dynamic website with php and mysql as backend. i have yet to find a tutorial that tacleks what i am looking for. i want the same sequence as u did but i wanna add a database from php myadmin. do u have a tuturial sir? please help. i have been searching for a solution for many days now
Hey there! Thanks for your comment. To deploy an Angular app, Spring Boot microservices, and a MySQL database on Hostinger, I recommend looking into their "Cloud Hosting" plans. These plans provide more resources, flexibility, and scalability compared to their shared hosting options, making them more suitable for your requirements. Before choosing a specific plan, consider the expected traffic, storage, and resource needs for your project. It's always a good idea to consult with Hostinger's customer support to ensure you're selecting the best plan for your needs. If you have more questions or need help with the deployment process, feel free to ask. Don't forget to subscribe, like, share, and comment for more helpful tutorials. Happy coding! 😊👨💻
That sounds like a great idea! I'd be happy to create a video tutorial on deploying a React app from a Git repository to Hostinger. Stay tuned for updates on my channel. Don't forget to like, share, and subscribe for more helpful content. Also, click the bell icon for updates and visit ayyaztech.com for additional tutorials. Thanks for your suggestion!
I'm sorry to hear you're encountering issues with the deployment. The SSH key is critical for secure communication between your GitHub repository and Hostinger. Without it, the deployment will likely fail. Here's what you can do: Generate an SSH key on Hostinger. Add the generated SSH key to your GitHub repository under Settings > Deploy Keys. I covered the process of adding an SSH key in the video, so you may find that section helpful for step-by-step guidance. If the issue persists, make sure that you've correctly specified the directory where you want to deploy your website on Hostinger. I hope this helps! If you have further questions or run into more issues, feel free to ask. Please consider subscribing to AyyazTech for more helpful tutorials, and don't forget to like and share this video!
You're absolutely right, and I appreciate you pointing it out. The tutorial does use a public GitHub repository. If you're working with a private repository, you'll need to ensure that Hostinger has the correct permissions to access it. This usually involves adding the SSH key generated by Hostinger to your GitHub repository's deploy keys section. Thanks for bringing this to everyone's attention. If you have any more insights or questions, feel free to share. If you enjoyed the video or found it helpful, please consider subscribing to AyyazTech. Don't forget to like and share as well!
Yes, this tutorial can be applied to Angular apps as well! Deploying a website from a GitHub repository typically involves similar steps regardless of the framework. Infact I already have recorded tutorial on that topic. You can watch it from this link: How to deploy angular app to Hostinger? ruclips.net/video/5rCh-Gdj1Uw/видео.html Other Recommended Videos: Deploy Angular to Vercel: A Step by Step Guide ruclips.net/video/y2ubmHHS2RU/видео.html How to deploy Angular project on Linux server? ruclips.net/video/fzVuI6vNvn0/видео.html How to dockerize your angular project? ruclips.net/video/rbmHXqcXInA/видео.html Recommended Articles: How to deploy Angular 16 project on Netlify? www.ayyaztech.com/blog/how-to-deploy-angular-16-project-on-netlify How to deploy Angular 16 app to firebase? www.ayyaztech.com/blog/how-to-deploy-angular-16-app-to-firebase These resources should help you deploy your Angular app effectively. If you have any more questions or need further assistance, feel free to ask. Don't forget to subscribe to the channel, like, and share the videos, and click the bell icon for notifications! 📺🔔 Happy deploying! 🚀
Thank you! I am glad that it was helpful for you. Please don't forget to subscribe, click on bell icon to get notified for upcoming videos and also please like and share my video :)
Sorry for late response. But I am glad that you found the solution. If you have any questions or need further assistance, feel free to ask. Don't forget to subscribe, like, share, and comment to stay updated with our latest content. Happy coding! 😊👨💻
That's a fantastic suggestion for a video topic: deploying a Vue.js application with CodeIgniter 4 (CI4) from GitHub. I've added it to our content list, and we'll certainly consider creating a detailed guide on this subject. This combination of technologies is quite powerful and popular, so a dedicated tutorial could be very helpful for many developers. In the meantime, if you have any specific questions or challenges regarding Vue.js, CI4, or deployment processes, feel free to ask. We're here to help! And don't forget to subscribe and click the bell icon so you won't miss out when we release new videos related to your interests. Your feedback and suggestions are invaluable in shaping our content. Thank you for contributing! 🔔💡👍
Thanks for RUclips Video. This Works Good. But some days later i make a update form my repository on github. By Deploy on hostinger i get This error. Checking project directory is empty Project directory is git repository pull: ERROR: Repository not found. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Deployment failed. I Must delete the repo on hostinger and make it new. And Gagarin ist works for some days.
It sounds like you followed the instructions from the AyyazTech video on how to upload your website using GitHub and Hostinger, but encountered an issue with the repository not being found during deployment. This error typically suggests a problem with the Git repository link or SSH keys. Here are a few steps to troubleshoot: Verify Repository URL: Ensure the Git repository URL you're using in Hostinger is correct. Sometimes, a small typo can cause this issue. Check Access Rights: Make sure the SSH key linked to Hostinger has access to the GitHub repository. You might need to add the SSH key to your GitHub account if it's not already there. Repository Existence: Confirm that the repository still exists on GitHub and hasn’t been moved or deleted. Re-link Repository: Sometimes, deleting and re-adding the repository in Hostinger can resolve connection issues. Check for Changes: If you've recently made changes to your GitHub account, like changing your username or repository name, update these details in Hostinger as well. If these steps don't resolve the issue, consider reaching out to Hostinger's support for more specific assistance. They can provide more detailed guidance based on your account and setup. Remember to keep experimenting and learning. And if you found this helpful, don't forget to like, share, and subscribe to AyyazTech for more tips and tutorials. Click the bell icon for notifications on our latest videos! 🌟🔔
Does not work for an Angular application. The code updated in the dedicated folder on Holstinger need somehow a ngbuild before ... ? Don't think it's possible for an Angular application
Great observation, and you're correct. This tutorial mainly focuses on deploying static websites. Angular applications would require a build process (ng build) to create the dist/ folder, which then gets deployed. Hostinger might not provide that capability out-of-the-box, but you could potentially use a Continuous Integration (CI) service to build your Angular project and then deploy it to Hostinger. Thank you for bringing this up; it's an important point for those using Angular or other frameworks that require a build step. If you found the video informative, please consider subscribing to AyyazTech for more tutorials. Don't forget to like and share the video too!
Thanks for watching this video. Please don't forget to subscribe to this youtube channel and also click on the bell icon to get notified for upcoming videos. Also please like and share this video. This helps me to motivate myself to record more content for you guys.
Bilkul, samajh gaya! Agar aap React project ko Hostinger par deploy karna chahte hain, jaisa ke humne "How to Upload Your Website Using GitHub on Hostinger" video mein dikhaya hai, toh uska process kafi had tak wahi hoga. Aapko apne React project ke liye Git repository banana hogi, code ko commit aur push karna hoga, aur phir Hostinger ki Git functionality ko use karke ise deploy karna hoga. Agar aap specifically React ke liye zyada detailed guidance chahte hain, toh hum is topic par ek detailed video tutorial banane ka zaroor soch sakte hain. Aapke is area mein interest ke liye shukriya! Agar aapke koi aur sawal hain ya kisi aur tech topic par janna chahte hain, toh zaroor batayein. AyyazTech channel ko subscribe karna na bhulein aur bell icon ko daba kar notifications ke liye taiyar rahiye! 🌟📺🔔
sir ma na git push kia ha laikin slove ni hu raha ha mery sa ap kia please ius ki video bana sakty ha ma ap ko buhat shukar guzar hu g ma na 2 din sa kosish ker raha hu laikin ni hu raha ha jis tera pa na video ma kia ha ya simple tah but react ka project push ker ka git pa or ius ko hostinger ka sath attach kerna thura mushkil ha please video bana hu sakta ap video bany or kafi lugu ko kuch iskhny ka mily@@AyyazTech
You're welcome! If you have any more comments or questions in the future, feel free to ask. If you find the content on AyyazTech helpful, please consider subscribing, and don't forget to like and share the videos! Have a great day! 😊
Great question! If your GitHub repository is private, the deployment process is slightly different. Here's what you can do: Make sure you have SSH access to your private repository. Follow the same steps in the video to create a new repository on Hostinger, but when you provide the URL of your GitHub repository, make sure it's the SSH URL. In your private GitHub repository, you should have the SSH key added to your account. This is essential for authentication. If not, you'll need to add the SSH key from your Hostinger hosting environment to your private GitHub repository's Deploy Keys or Secrets. Continue with the rest of the steps in the video as shown. Your private repository should now be accessible from Hostinger, and you can deploy your website as demonstrated in the video. Remember to keep your private repository's credentials secure and never share your SSH keys. I hope this helps! Let me know if you have any more questions.
You're welcome! If you have any questions or need further assistance, feel free to ask. Don't forget to subscribe, like, share, and comment to stay updated with our latest content. Happy coding! 😊👨💻
For Django applications, the deployment process is a bit more involved compared to static websites. When deploying a Django app from a GitHub repository: Dependencies: Ensure that your Django project has a requirements.txt file. This file should list all the dependencies your app needs. Database Setup: If your Django application uses a database, you will need to ensure the production environment is correctly set up for this. Databases like PostgreSQL or MySQL may require separate setup and configuration. Environment Variables: Django projects often use environment variables for sensitive information like SECRET_KEY or database credentials. Ensure you have a way to securely manage these in your production environment. Web Server and WSGI Server: You'll typically need a web server like Nginx or Apache, and a WSGI server like Gunicorn or uWSGI to serve your Django app. Static and Media Files: Django does not serve media and static files in production the same way it does in development. You'll need to set up static and media file handling, possibly involving cloud storage solutions or CDNs. Continuous Integration/Continuous Deployment (CI/CD): Tools like Jenkins, Travis CI, or GitHub Actions can be set up to automatically test, build, and deploy your Django app when changes are pushed to your repository. Platform/Service: There are various platforms where you can deploy Django apps, like Heroku, AWS Elastic Beanstalk, DigitalOcean App Platform, etc. Each has its own specific configurations and setup procedures. Follow their documentation on deploying Django apps from GitHub. In short, deploying a Django app requires additional considerations compared to a static site. It's crucial to familiarize yourself with Django's deployment documentation and the documentation of the platform you're deploying to. If you're new to this, I'd recommend trying a platform like Heroku first, as they provide a relatively straightforward deployment process for Django apps from GitHub repositories.
I'm sorry to hear that you're getting a 403 error when trying to deploy your website from the GitHub repository. A 403 error typically indicates that you don't have permission to access the requested resource. There are a few possible reasons for this issue, and here are some troubleshooting steps you can try: 1. **Check Repository Permissions**: Make sure that you have the necessary permissions to access the repository. If it's a private repository, ensure that you have been granted access by the repository owner. 2. **Check Deploy Token or SSH Key**: If you're using a deploy token or SSH key to access the repository, double-check that it is correctly set up and has the appropriate permissions. 3. **Verify Deploy Settings**: Review your deployment settings on both GitHub and the deployment platform (e.g., GitHub Pages, Netlify, Vercel, etc.). Ensure that you have set up the correct branch and path for deployment. 4. **Confirm File and Folder Permissions**: Ensure that the files and folders in your repository have the correct permissions set to allow access during the deployment process. 5. **Look for Specific Error Messages**: If the 403 error comes with a specific message, Google the error message to find more information about the issue and possible solutions. 6. **Check Firewall and IP Restrictions**: Some hosting services may have firewall rules or IP restrictions that could cause a 403 error. Check your hosting platform's settings to see if this might be the case. 7. **Try Another Deployment Platform**: If the issue persists, consider trying another deployment platform to see if the problem is specific to the current one you are using. If none of the above steps resolve the issue, it might be helpful to provide more context about the specific steps you followed, the deployment platform you are using, and any error messages you received. This way, the community can better assist you in troubleshooting the problem.
I'm sorry to hear that you didn't find the video helpful. If you could let me know what specific issues you encountered or what you were looking for, I'd be happy to improve future content. Thank you for taking the time to watch, and if you haven't already, please consider subscribing to AyyazTech for more tutorials. Don't forget to like and share as well!
You're welcome! I'm thrilled to hear that you found the information helpful. 🎉 If you have any more questions or need further assistance, feel free to ask. And remember, for more tech insights and tips, keep watching AyyazTech. Don't forget to like, share, and subscribe for the latest updates. Happy coding! 👍🌐💻👋🔔
Thanks for the easy to follow tutorial. You really made it simple and worked perfectly!
I'm so glad to hear that you found the tutorial helpful and easy to follow! If you have any further questions or run into any issues in the future, don't hesitate to ask. Remember, every great project starts with a small step. Happy coding and best of luck with your website! 🚀🌐
I'd add that it takes some time (up to 10 minutes) for hostinger to download and deploy the files from github to your working web area. This stumped me for a while as there is no notification that any action is currently taking place nor is there notice that the deployment is complete.
That's a fantastic point, and I appreciate you bringing it up! The time it takes for Hostinger to download and deploy the files from GitHub can indeed vary and can be a source of confusion, especially for those who are new to this. I'll keep this in mind for future videos to ensure that viewers are aware of this aspect. Thanks so much for watching!
If you find the channel helpful, please consider subscribing to AyyazTech, and don't forget to like and share the video!
Phenomenal video. Thank you for the help with this!!
I'm glad you found the video helpful! 😊
Here are a few more videos you might find useful:
- How to deploy react app to hostinger
ruclips.net/video/m_zi2RfmI4M/видео.html
- How to deploy Angular project on Linux server?
ruclips.net/video/fzVuI6vNvn0/видео.html
- How to deploy Angular 16 app to firebase?
ruclips.net/video/l23HO75V8bo/видео.html
Additionally, you might find these blog articles interesting:
- How to force push to GitHub: A Step-by-Step Guide
www.ayyaztech.com/blog/how-to-force-push-to-github-a-step-by-step-guide
- How to create a Draggable Window using JavaScript and Tailwind CSS | Beginner-Friendly Tutorial
www.ayyaztech.com/blog/how-to-create-a-draggable-window-using-javascript-and-tailwind-css-a-beginner-friendly-tutorial
- How to set background image in Angular 16?
www.ayyaztech.com/blog/how-to-set-background-image-in-angular-16
Don't forget to like, share, and subscribe for more tech tutorials and tips! Click the bell icon to get notified of new videos. 🔔
If you have any specific topics you want me to cover, let me know!
Thx man, it was really easy
You're welcome! 😊 I'm glad you found the video helpful. Don't forget to subscribe to the channel for more tutorials!
Here are a few more videos that you might find interesting:
Mastering GitHub Downloads: Files, Directories, and Repositories
ruclips.net/video/1ZnUpoTWpZg/видео.html
How to Compare Two Branches in GitHub - A Step-by-Step Guide
ruclips.net/video/chTzL8YJNaw/видео.html
How to Commit Changes to Your GitHub Repository - A Step-by-Step Guide
ruclips.net/video/0fsfRCBNM4I/видео.html
Additionally, you might find these articles on my blog useful:
How to Force Push to GitHub: A Step-by-Step Guide
www.ayyaztech.com/blog/how-to-force-push-to-github-a-step-by-step-guide
How to Fork a Repository on GitHub: A Step-by-Step Guide
www.ayyaztech.com/blog/how-to-fork-a-repository-on-github-a-step-by-step-guide
Make sure to like, share, and click the bell icon for notifications! 🔔
Happy coding! 🚀
Very nice tutorial. Helped me a lot!
You're welcome! If you have any questions or need further assistance, feel free to ask. Don't forget to subscribe, like, share, and comment to stay updated with our latest content. Happy coding! 😊👨💻
Great video! Thanks Ayyaz!
Glad you liked it!
Which type of hosting you are using on hostinger? I would like to use hostinger for simple angular app (with DB) and I am not sure if I need VPS or shared hosting will be enough.
If there is not much traffic and your backend server is light weight then you can just buy shared hosting. That is a good start. But later on you can easily upgrade if needed.
@@AyyazTech upgrade to what?
@@lepro0 Business hosting
Thank you! It was very useful
Thank you for your positive feedback! We're delighted to hear that you found the video helpful. If you have any questions or if there's a specific topic you'd like us to cover in the future, feel free to let us know. Don't forget to like, share, and subscribe to stay updated with our content.
After I set up everything can I delete the project file from my device and keep it only on GitHub
Yes right. You can delete from device but keep it on GitHub.
how to install the dependencies once after copied files from github to hostinger? In my hostinger plan I dont have ssh access enabled. Is there any other way to install?
The video on the AyyazTech RUclips channel explains how to upload a website to Hostinger using GitHub, but it doesn't specifically address how to install dependencies if you don't have SSH access. In situations where SSH access isn't available on your hosting plan, such as with some shared hosting environments, you have a few alternative options:
Manual Upload of Dependencies: If your project dependencies are not too complex or too many, you can install them locally and then upload the entire project, including the node_modules directory (or equivalent for other languages), to your host. This method can be cumbersome and is not recommended for larger projects due to the size and number of files in dependency directories.
Custom Scripting: Some hosting providers offer the ability to run custom scripts after uploading your files. You can write a script to install dependencies and set it to run after you upload your project files. Check Hostinger's documentation or support to see if this is an option.
Upgrade Your Hosting Plan: If your project requires frequent dependency updates or complex setup processes, consider upgrading to a hosting plan that provides SSH access. This would be a more scalable solution and is worth the investment for more complex projects.
Use a CI/CD Pipeline: If Hostinger supports Continuous Integration/Continuous Deployment (CI/CD) pipelines, you can set up a pipeline with a service like GitHub Actions, GitLab CI/CD, or Bitbucket Pipelines. These tools can run your build process, install dependencies, and push the complete, ready-to-run build to your hosting space.
Local Installation & Build: Install and build your project locally or in a CI/CD pipeline, then upload the built version (which includes all the dependencies) to Hostinger. This approach is often used for frontend projects built with tools like Webpack, where the final upload is a set of static files.
Remember, the method you choose will depend on your project's complexity and the limitations of your hosting plan. If you found this information helpful, consider subscribing to AyyazTech for more tutorials and tech tips. If you have any specific questions or run into problems, feel free to leave a comment below the video, and we'll do our best to help you out. Happy coding! 👨💻🌐🚀
thanks but what i am looking for is a dynamic website with php and mysql as backend. i have yet to find a tutorial that tacleks what i am looking for. i want the same sequence as u did but i wanna add a database from php myadmin. do u have a tuturial sir? please help. i have been searching for a solution for many days now
Could u please confirm which plan should I take if i wish to deploy Angular ,2Springboot microservices and 1 MySQL database in the Hostinger?
Hey there! Thanks for your comment. To deploy an Angular app, Spring Boot microservices, and a MySQL database on Hostinger, I recommend looking into their "Cloud Hosting" plans. These plans provide more resources, flexibility, and scalability compared to their shared hosting options, making them more suitable for your requirements.
Before choosing a specific plan, consider the expected traffic, storage, and resource needs for your project. It's always a good idea to consult with Hostinger's customer support to ensure you're selecting the best plan for your needs.
If you have more questions or need help with the deployment process, feel free to ask. Don't forget to subscribe, like, share, and comment for more helpful tutorials. Happy coding! 😊👨💻
anyone know's how to deploy react app git repository on hostinger
when I push code on my repository it should reflect changes on my website
That sounds like a great idea! I'd be happy to create a video tutorial on deploying a React app from a Git repository to Hostinger. Stay tuned for updates on my channel. Don't forget to like, share, and subscribe for more helpful content. Also, click the bell icon for updates and visit ayyaztech.com for additional tutorials. Thanks for your suggestion!
my deployment failed and when i go to public html files. it is empty. I do not have an ssh key. What do i need to do?
I'm sorry to hear you're encountering issues with the deployment. The SSH key is critical for secure communication between your GitHub repository and Hostinger. Without it, the deployment will likely fail. Here's what you can do:
Generate an SSH key on Hostinger.
Add the generated SSH key to your GitHub repository under Settings > Deploy Keys.
I covered the process of adding an SSH key in the video, so you may find that section helpful for step-by-step guidance.
If the issue persists, make sure that you've correctly specified the directory where you want to deploy your website on Hostinger.
I hope this helps! If you have further questions or run into more issues, feel free to ask. Please consider subscribing to AyyazTech for more helpful tutorials, and don't forget to like and share this video!
Bro, your repository says "public" not private, cause with private repository hostinger returns failed deployment
stuck on the same, what do i need to do ?
@@ShakedBar66t me too
You're absolutely right, and I appreciate you pointing it out. The tutorial does use a public GitHub repository. If you're working with a private repository, you'll need to ensure that Hostinger has the correct permissions to access it. This usually involves adding the SSH key generated by Hostinger to your GitHub repository's deploy keys section.
Thanks for bringing this to everyone's attention. If you have any more insights or questions, feel free to share. If you enjoyed the video or found it helpful, please consider subscribing to AyyazTech. Don't forget to like and share as well!
If I have to upload 200+ post can we host it in hostinger through github, I have purchased business plan
Yes it is definitely possible.
this tutorial Applicable for angular app?
Yes, this tutorial can be applied to Angular apps as well! Deploying a website from a GitHub repository typically involves similar steps regardless of the framework. Infact I already have recorded tutorial on that topic. You can watch it from this link:
How to deploy angular app to Hostinger?
ruclips.net/video/5rCh-Gdj1Uw/видео.html
Other Recommended Videos:
Deploy Angular to Vercel: A Step by Step Guide
ruclips.net/video/y2ubmHHS2RU/видео.html
How to deploy Angular project on Linux server?
ruclips.net/video/fzVuI6vNvn0/видео.html
How to dockerize your angular project?
ruclips.net/video/rbmHXqcXInA/видео.html
Recommended Articles:
How to deploy Angular 16 project on Netlify?
www.ayyaztech.com/blog/how-to-deploy-angular-16-project-on-netlify
How to deploy Angular 16 app to firebase?
www.ayyaztech.com/blog/how-to-deploy-angular-16-app-to-firebase
These resources should help you deploy your Angular app effectively. If you have any more questions or need further assistance, feel free to ask. Don't forget to subscribe to the channel, like, and share the videos, and click the bell icon for notifications! 📺🔔
Happy deploying! 🚀
very good man thank from brazil
Thank you! I am glad that it was helpful for you. Please don't forget to subscribe, click on bell icon to get notified for upcoming videos and also please like and share my video :)
What if the GitHub repository is private?
I found the answer you can deploy using both private and public repository
Sorry for late response. But I am glad that you found the solution.
If you have any questions or need further assistance, feel free to ask. Don't forget to subscribe, like, share, and comment to stay updated with our latest content. Happy coding! 😊👨💻
Yes! Yes! Thank you.. Worked👍🤝
You're welcome!
Excuse me sir
U just had shown us about deployment..
What about hosting?
.com -is that auto generated??
Please reply me
It is already created before the git setup. He just added the file in sub folder named "test" with the domain root files.
Hi, in this video I just recorded the way that how you can implement automated deployment but hosting and domain was already purchased and setup.
awesome dude 🤩
Thank you so much! 🙌 Really appreciate the positive vibes. Stay tuned for more content! 😄🚀
how to solve 403 forrbidden error
can i upload my NEXT.JS 14 web app from github to hostinger?
how about vuejs+ci4 dployment from github
That's a fantastic suggestion for a video topic: deploying a Vue.js application with CodeIgniter 4 (CI4) from GitHub. I've added it to our content list, and we'll certainly consider creating a detailed guide on this subject. This combination of technologies is quite powerful and popular, so a dedicated tutorial could be very helpful for many developers.
In the meantime, if you have any specific questions or challenges regarding Vue.js, CI4, or deployment processes, feel free to ask. We're here to help!
And don't forget to subscribe and click the bell icon so you won't miss out when we release new videos related to your interests. Your feedback and suggestions are invaluable in shaping our content. Thank you for contributing! 🔔💡👍
july 2023 and it worked for me ! Thank you
Thanks 😊
but sir i have react app i try it but it not work because hostinger not run build cmd for our react app how i can do it?
You can do it by using git action
Thanks for RUclips Video. This Works Good. But some days later i make a update form my repository on github. By Deploy on hostinger i get This error. Checking project directory is empty
Project directory is git repository
pull: ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Deployment failed.
I Must delete the repo on hostinger and make it new. And Gagarin ist works for some days.
It sounds like you followed the instructions from the AyyazTech video on how to upload your website using GitHub and Hostinger, but encountered an issue with the repository not being found during deployment.
This error typically suggests a problem with the Git repository link or SSH keys. Here are a few steps to troubleshoot:
Verify Repository URL: Ensure the Git repository URL you're using in Hostinger is correct. Sometimes, a small typo can cause this issue.
Check Access Rights: Make sure the SSH key linked to Hostinger has access to the GitHub repository. You might need to add the SSH key to your GitHub account if it's not already there.
Repository Existence: Confirm that the repository still exists on GitHub and hasn’t been moved or deleted.
Re-link Repository: Sometimes, deleting and re-adding the repository in Hostinger can resolve connection issues.
Check for Changes: If you've recently made changes to your GitHub account, like changing your username or repository name, update these details in Hostinger as well.
If these steps don't resolve the issue, consider reaching out to Hostinger's support for more specific assistance. They can provide more detailed guidance based on your account and setup.
Remember to keep experimenting and learning. And if you found this helpful, don't forget to like, share, and subscribe to AyyazTech for more tips and tutorials. Click the bell icon for notifications on our latest videos! 🌟🔔
@@AyyazTech thanks, but i can ask chatgbt self 😉
Sure. Yes ChatGPT is very helpful. Keep learning and exploring. And feel free to reach me out for any further assistance. :)
Does not work for an Angular application. The code updated in the dedicated folder on Holstinger need somehow a ngbuild before ... ? Don't think it's possible for an Angular application
Great observation, and you're correct. This tutorial mainly focuses on deploying static websites. Angular applications would require a build process (ng build) to create the dist/ folder, which then gets deployed. Hostinger might not provide that capability out-of-the-box, but you could potentially use a Continuous Integration (CI) service to build your Angular project and then deploy it to Hostinger.
Thank you for bringing this up; it's an important point for those using Angular or other frameworks that require a build step. If you found the video informative, please consider subscribing to AyyazTech for more tutorials. Don't forget to like and share the video too!
Thank u for the information
Thanks for watching this video. Please don't forget to subscribe to this youtube channel and also click on the bell icon to get notified for upcoming videos. Also please like and share this video. This helps me to motivate myself to record more content for you guys.
sir kia react ka project bhi iusi tera hu ga
Bilkul, samajh gaya! Agar aap React project ko Hostinger par deploy karna chahte hain, jaisa ke humne "How to Upload Your Website Using GitHub on Hostinger" video mein dikhaya hai, toh uska process kafi had tak wahi hoga. Aapko apne React project ke liye Git repository banana hogi, code ko commit aur push karna hoga, aur phir Hostinger ki Git functionality ko use karke ise deploy karna hoga. Agar aap specifically React ke liye zyada detailed guidance chahte hain, toh hum is topic par ek detailed video tutorial banane ka zaroor soch sakte hain.
Aapke is area mein interest ke liye shukriya! Agar aapke koi aur sawal hain ya kisi aur tech topic par janna chahte hain, toh zaroor batayein. AyyazTech channel ko subscribe karna na bhulein aur bell icon ko daba kar notifications ke liye taiyar rahiye! 🌟📺🔔
sir ma na git push kia ha laikin slove ni hu raha ha mery sa ap kia please ius ki video bana sakty ha ma ap ko buhat shukar guzar hu g ma na 2 din sa kosish ker raha hu laikin ni hu raha ha jis tera pa na video ma kia ha ya simple tah but react ka project push ker ka git pa or ius ko hostinger ka sath attach kerna thura mushkil ha please video bana hu sakta ap video bany or kafi lugu ko kuch iskhny ka mily@@AyyazTech
Thanks 🙏
You're welcome! If you have any more comments or questions in the future, feel free to ask. If you find the content on AyyazTech helpful, please consider subscribing, and don't forget to like and share the videos! Have a great day! 😊
what if your repo is private?
Great question! If your GitHub repository is private, the deployment process is slightly different. Here's what you can do:
Make sure you have SSH access to your private repository.
Follow the same steps in the video to create a new repository on Hostinger, but when you provide the URL of your GitHub repository, make sure it's the SSH URL.
In your private GitHub repository, you should have the SSH key added to your account. This is essential for authentication. If not, you'll need to add the SSH key from your Hostinger hosting environment to your private GitHub repository's Deploy Keys or Secrets.
Continue with the rest of the steps in the video as shown. Your private repository should now be accessible from Hostinger, and you can deploy your website as demonstrated in the video.
Remember to keep your private repository's credentials secure and never share your SSH keys. I hope this helps! Let me know if you have any more questions.
thank you
You're welcome! If you have any questions or need further assistance, feel free to ask. Don't forget to subscribe, like, share, and comment to stay updated with our latest content. Happy coding! 😊👨💻
WHat ABOUT DJANGO APPLICATIONS
For Django applications, the deployment process is a bit more involved compared to static websites. When deploying a Django app from a GitHub repository:
Dependencies: Ensure that your Django project has a requirements.txt file. This file should list all the dependencies your app needs.
Database Setup: If your Django application uses a database, you will need to ensure the production environment is correctly set up for this. Databases like PostgreSQL or MySQL may require separate setup and configuration.
Environment Variables: Django projects often use environment variables for sensitive information like SECRET_KEY or database credentials. Ensure you have a way to securely manage these in your production environment.
Web Server and WSGI Server: You'll typically need a web server like Nginx or Apache, and a WSGI server like Gunicorn or uWSGI to serve your Django app.
Static and Media Files: Django does not serve media and static files in production the same way it does in development. You'll need to set up static and media file handling, possibly involving cloud storage solutions or CDNs.
Continuous Integration/Continuous Deployment (CI/CD): Tools like Jenkins, Travis CI, or GitHub Actions can be set up to automatically test, build, and deploy your Django app when changes are pushed to your repository.
Platform/Service: There are various platforms where you can deploy Django apps, like Heroku, AWS Elastic Beanstalk, DigitalOcean App Platform, etc. Each has its own specific configurations and setup procedures. Follow their documentation on deploying Django apps from GitHub.
In short, deploying a Django app requires additional considerations compared to a static site. It's crucial to familiarize yourself with Django's deployment documentation and the documentation of the platform you're deploying to. If you're new to this, I'd recommend trying a platform like Heroku first, as they provide a relatively straightforward deployment process for Django apps from GitHub repositories.
@@AyyazTech thanks sir. M having serious troubles deploying from github to hostinger vps
@@AyyazTech if a video can be made it'll be v helpful😫
Thank you
I need your help
Sure. Please tell me how may I help you?
be aware that git master branch is now named main by default
Thanks for the information 👍
I'm Getting 403 error
I'm sorry to hear that you're getting a 403 error when trying to deploy your website from the GitHub repository. A 403 error typically indicates that you don't have permission to access the requested resource. There are a few possible reasons for this issue, and here are some troubleshooting steps you can try:
1. **Check Repository Permissions**: Make sure that you have the necessary permissions to access the repository. If it's a private repository, ensure that you have been granted access by the repository owner.
2. **Check Deploy Token or SSH Key**: If you're using a deploy token or SSH key to access the repository, double-check that it is correctly set up and has the appropriate permissions.
3. **Verify Deploy Settings**: Review your deployment settings on both GitHub and the deployment platform (e.g., GitHub Pages, Netlify, Vercel, etc.). Ensure that you have set up the correct branch and path for deployment.
4. **Confirm File and Folder Permissions**: Ensure that the files and folders in your repository have the correct permissions set to allow access during the deployment process.
5. **Look for Specific Error Messages**: If the 403 error comes with a specific message, Google the error message to find more information about the issue and possible solutions.
6. **Check Firewall and IP Restrictions**: Some hosting services may have firewall rules or IP restrictions that could cause a 403 error. Check your hosting platform's settings to see if this might be the case.
7. **Try Another Deployment Platform**: If the issue persists, consider trying another deployment platform to see if the problem is specific to the current one you are using.
If none of the above steps resolve the issue, it might be helpful to provide more context about the specific steps you followed, the deployment platform you are using, and any error messages you received. This way, the community can better assist you in troubleshooting the problem.
27-Sept-2024 it works me thank you
uselses
I'm sorry to hear that you didn't find the video helpful. If you could let me know what specific issues you encountered or what you were looking for, I'd be happy to improve future content. Thank you for taking the time to watch, and if you haven't already, please consider subscribing to AyyazTech for more tutorials. Don't forget to like and share as well!
thank you bro.. really helped
You're welcome! I'm thrilled to hear that you found the information helpful. 🎉 If you have any more questions or need further assistance, feel free to ask.
And remember, for more tech insights and tips, keep watching AyyazTech. Don't forget to like, share, and subscribe for the latest updates. Happy coding! 👍🌐💻👋🔔