How to Download and Run Project from Github

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 พ.ย. 2023
  • How to download and run project from github? This and similar questions are asked many times by beginners.
    I receive questions like:
    - How to clone and run a project from github
    - How to download react project from github and run it
    - How to run react project from github in vscode
    - How to download and run project from github
    - How to run github project on windows
    - How to run github project locally
    and similar questions.
    This video is answering all of those questions.
    You want to run project on windows or locally from github, this video is for you. You want to download or clone github project and run it, I will explain how.
    Github is a place where a variety of projects - built with different technologies - are hosted.
    These include: javascript, react js, ruby on rails, node js, php, python and more. Before you download and use the code, first you should know in which tech stack it's built with? How to identify tech stack? How to download files? How to install dependencies and how to run the project? All answers are in this video but first know difference between downloading and cloning.
    - Difference between Download and Clone
    Downloading is a simpler, one-time operation to just get the files, while cloning is a more robust solution that integrates with Git's version control capabilities, making it more suitable for ongoing development and collaboration for that perticular repository.
    Downloading is ideal for users who just want to obtain the files and are not planning to contribute back to the repository. It does not preserve the Git version control history. You only get the current snapshot of the repository. In case project gets updated, to get the updated files, you have to manually download the ZIP file again.
    But cloning preserves the entire Git history of the repository. This includes all branches, tags, and commits. With cloning you can easily update your local clone with the latest changes from the original repository using Git commands like 'git pull'.
    So if you are just interested in the project's current state, download it. If you want to contribute to this project, cloning will be more suitable option.
    Is this the best way to do it or do you have something to add to the conversation? Comment down below. Let us know if this technique helped you. Do you want any related tutorial?
    Our tutorials help you to improve your career growth, perform better in your job and make money online as a freelancer. Learn the skills to build and design professional websites, and create dynamic and interactive web applications using JavaScript, or WordPress. Our tutorials are tailored to help beginners and professionals alike. Whether you're just starting in the field or you're looking to expand your knowledge, we've got something for you. Join us on this journey to becoming a skilled web developer. Subscribe to our channel and let's get started!
    - How to Run Github Code Online
    • How to Run Github Code...
    - Run Projects without Downloading from Github
    • Run Projects without D...
    Github Tutorials Playlist
    • Github / Version Control
    Thank You!
    👍 LIKE VIDEO
    👊 SUBSCRIBE
    🔔 PRESS BELL ICON
    ✍️ COMMENT
    ⚡Channel: / @webstylepress
    ⚡Website: www.webstylepress.com
    ⚡FaceBook: / webstylepress
    ⚡Twitter: / webstylepress
    ⚡GitHub: github.com/webstylepress
    #github #WebStylePress

ความคิดเห็น • 63

  • @doccuddleup
    @doccuddleup หลายเดือนก่อน +1

    Yehi video 2 hafte pehle miljata bhai…thanks a lot love u

  • @syedfaizan5394
    @syedfaizan5394 2 หลายเดือนก่อน +2

    Thank you soo much, for making this very helpful video for beginners like us

  • @vefao3210
    @vefao3210 2 หลายเดือนก่อน +1

    Clear instructions. Thanx.

  • @519aadil3
    @519aadil3 7 หลายเดือนก่อน +3

    You are so awesome thankyou

  • @Animelover-oo7cz
    @Animelover-oo7cz 2 หลายเดือนก่อน +1

    thank u sooooooo much🌷 you aare the best

  • @kinglegitto1848
    @kinglegitto1848 6 หลายเดือนก่อน +10

    Finally, some good food.

  • @gamiensrule
    @gamiensrule 4 หลายเดือนก่อน +2

    Wonderful.

  • @pit7398
    @pit7398 หลายเดือนก่อน +1

    you are amazing , thank you !

  • @user-dj4rw3ck7v
    @user-dj4rw3ck7v 2 หลายเดือนก่อน

    Great work thank you

  • @joeblack440
    @joeblack440 3 หลายเดือนก่อน +1

    Briliant ❤

  • @alibennas8534
    @alibennas8534 3 หลายเดือนก่อน +1

    Thanks a lot

  • @RevatiPatil-cl8uo
    @RevatiPatil-cl8uo 3 หลายเดือนก่อน +11

    bro sounds like tanmay bhat

  • @alekrop9823
    @alekrop9823 2 หลายเดือนก่อน

    THANK YOU, YOU ARE THE BEST!

    • @BrysonJohnson-yl8ns
      @BrysonJohnson-yl8ns หลายเดือนก่อน

      Oh stop. If this is a good tutorial, I wouldn't be stuck not understanding how to SIMPLY download an SDK for jMonkeyEngine. That's all I want to do, so I can start a game project in the future on java. But the garbage website interface and these vague instructions are holding me back

  • @himanshubhatt9458
    @himanshubhatt9458 2 หลายเดือนก่อน +3

    Bro has turned on the bass mode😂

  • @haiderh2052
    @haiderh2052 3 หลายเดือนก่อน +2

    What if there is no such package.json file in the repository and the read me file dont say anything about how to install independencies, is that mean its a closed source code ?
    Thanks

    • @webstylepress
      @webstylepress  3 หลายเดือนก่อน +3

      The absence of a package.json file in a repository and a lack of installation instructions in the README does not necessarily indicate that the code is closed source. It might suggest that the repository doesn't rely on Node.js packages, or it could be that the authors did not include dependency management files or installation instructions.
      Is it a nodejs, reactjs project? Is there a src folder? Is files extension js? Are there html files in it?

  • @brijeshchauhan7195
    @brijeshchauhan7195 2 หลายเดือนก่อน +2

    it was useful

  • @nicvalch4453
    @nicvalch4453 4 หลายเดือนก่อน +3

    thanks bro! love from turkey to india.

    • @SAnshikaRai
      @SAnshikaRai 3 หลายเดือนก่อน

      Heyy have you run the project in vs or not

  • @_IamHarsh
    @_IamHarsh 2 หลายเดือนก่อน

    helpful sir

  • @faizaahmad314
    @faizaahmad314 15 วันที่ผ่านมา

    Thank you so much, if there is database as well than how to setup that database please please if anyone knows guide me I want that urgently

  • @talaakashkari9743
    @talaakashkari9743 5 หลายเดือนก่อน +2

    I’m working on a python language what can I write instead of npm?

    • @Santhanam-sn3mh
      @Santhanam-sn3mh 4 หลายเดือนก่อน

      Same question here, did u found the answer?

  • @Mrsheeesh
    @Mrsheeesh หลายเดือนก่อน

    Alomost does it but when I run :npm start" it shows error, how do I fix it?

  • @revanthgourishetti3514
    @revanthgourishetti3514 6 หลายเดือนก่อน +2

    What about next js

  • @angelagutaya4
    @angelagutaya4 2 หลายเดือนก่อน

    Can you show me how for a specific github project?

  • @talaakashkari9743
    @talaakashkari9743 5 หลายเดือนก่อน +2

    What is the norm it’s not working with me please any help?

  • @bluewillowjiankaameilu9184
    @bluewillowjiankaameilu9184 4 หลายเดือนก่อน

    how to enable repositories please bro

  • @bhargavikotni6214
    @bhargavikotni6214 2 หลายเดือนก่อน

    at 5:47 sec there are some errors like 21 vulnerabilities and npm audit fix are more how you fixed that, same issue happened in my case too but i don't know how to fix that

    • @webstylepress
      @webstylepress  2 หลายเดือนก่อน

      use comman
      npm audit fix
      to fix the vulnerabilities.
      For vulnerabilities that npm audit fix cannot resolve automatically, you may need to update the dependencies manually. Check the npm audit report for the suggested actions. You might have to upgrade to newer versions of some packages, which could involve breaking changes.
      You can use
      npm audit fix --force
      This command will make dependency changes that might include major version upgrades, potentially introducing breaking changes. Use this only if you understand the implications. Best to take project backup first.
      If a dependency is no longer maintained or frequently has security issues, consider switching to a more secure and actively maintained alternative.
      Once you've made the necessary changes and ensured the application is stable, commit these changes to your Git repository.

  • @anmolbatra2005
    @anmolbatra2005 2 หลายเดือนก่อน

    Can you tell if we haven't SSH link and only have HTTPS and GitHub CLI then how we make clone ??

    • @webstylepress
      @webstylepress  2 หลายเดือนก่อน

      To clone a repository from GitHub using HTTPS when you don't have an SSH link you can use https link you can do
      git clone https-link
      with GitHub CLI you can try
      gh repo clone repository-path

  • @princeabadi2889
    @princeabadi2889 3 หลายเดือนก่อน

    Sir i get an error: it says ‘read scripts 5:56 ’ is not recognized as an internal or external command, operable program or batch file

    • @webstylepress
      @webstylepress  3 หลายเดือนก่อน

      make sure there is no typo / type mistake. I need more details on what you were doing and which command result in this error!

  • @anjubhalke4154
    @anjubhalke4154 2 หลายเดือนก่อน +1

    Hello sir
    Npm install and npm i command exceution are not working
    Getting command not found message
    How to fix it ?

    • @webstylepress
      @webstylepress  2 หลายเดือนก่อน

      npm is package manager that comes with node js. Please install nodejs in pc and then run npm install or npm i command inside the folder that has package.json file.
      Install node js first. search node js in google.
      Also before you use npm install command, make sure you are inside project folder.
      To do that by using 'git for windows program' right click in folder and select 'git bash' here. Let em know if you have still any issue.

  • @hardin1306
    @hardin1306 2 หลายเดือนก่อน

    do i have to install react on my pc before starting the application

    • @webstylepress
      @webstylepress  2 หลายเดือนก่อน

      react is not installed. To run react project you need to install nodejs. nodejs comes with npm. using npm you can give commands. in terminal you can give commands to install packages and then run react app after packages (node modules) installation. in package.json file present in react application you will find command to run react app.

  • @abraradnan854
    @abraradnan854 2 หลายเดือนก่อน

    some projects did not have green button ( code button) how can I download it ?

    • @webstylepress
      @webstylepress  2 หลายเดือนก่อน

      name the github repo that you want to download code from?

  • @raihatufail
    @raihatufail หลายเดือนก่อน

    when i run npm install , it is giving errors, i used the ebook management system project which is a java web project and it has a json file but still gives errors

    • @webstylepress
      @webstylepress  หลายเดือนก่อน +1

      It sounds like there might be a misunderstanding with the project setup. The eBook management system you mentioned is a Java web project, and typically, such projects don't require npm install as that command is used for Node.js projects, not Java. The presence of a JSON file does not necessarily mean that Node.js is involved. Please double-check the project's documentation for the correct setup instructions. If it's indeed a Node.js project, ensure that your Node.js and npm versions are compatible with the project's requirements. If you continue to face issues, could you please share the exact error messages you are getting? This will help in diagnosing the problem more effectively.

  • @abdelbel7427
    @abdelbel7427 5 หลายเดือนก่อน +8

    how to install python project from github plz

    • @Santhanam-sn3mh
      @Santhanam-sn3mh 4 หลายเดือนก่อน

      Same question here, did u found the answer?

  • @drderp0479
    @drderp0479 หลายเดือนก่อน

    I dont get the "Git Bash" in the context menu. How do I fix that?

    • @webstylepress
      @webstylepress  หลายเดือนก่อน

      okay - its the 'git for windows'. Please search 'git for windows' if you are using windows and install it. Its terminal for windows os. command prompt replacement. You can also use command prompt or better power shell that are in windows operating system but 'git for windows' is easy to work with. It adds 'git bash' in context menu.

    • @drderp0479
      @drderp0479 หลายเดือนก่อน

      @@webstylepress yes I did install git for windows. But I never got the Git Bash in my context menu when I right click inside the file explorer

  • @umuhirejaqueline927
    @umuhirejaqueline927 5 หลายเดือนก่อน +1

    😊😊😊😊😊😊

  • @KeerthisreeKs
    @KeerthisreeKs หลายเดือนก่อน

    Its not working npm start command at last

  • @Kaiman3d
    @Kaiman3d หลายเดือนก่อน

    so i can only run project with git?

    • @webstylepress
      @webstylepress  หลายเดือนก่อน +1

      Depends. You don't necessarily need Git to run a project from GitHub. You can download the project as a ZIP file directly from GitHub's website. Just go to the project's repository page, click on the 'Code' button, and then select 'Download ZIP'. Once downloaded, you can extract the files and run the project according to its documentation. Git is mainly used for version control and contributes to a smoother workflow, especially when you need to update or contribute to the project.

  • @aryanthakur2657
    @aryanthakur2657 หลายเดือนก่อน

    When
    I type npm start it gives error in browser (this site can't be reached)

    • @webstylepress
      @webstylepress  หลายเดือนก่อน

      are you trying to run react js project? is it javascript based project? need more details on this...

    • @bhavyasrivadapalli226
      @bhavyasrivadapalli226 หลายเดือนก่อน

      Sir I have run the same project that you have run but still it shows like localhist is not supporter​@@webstylepress

    • @bhavyasrivadapalli226
      @bhavyasrivadapalli226 หลายเดือนก่อน

      ​Sir I have run the same project as you did and I have followed the same procedure but still it shows like cant reached. Could you please explain what should I do​@@webstylepress

  • @PriyaSharma-sz1fj
    @PriyaSharma-sz1fj 3 หลายเดือนก่อน

    Npm shows error

    • @webstylepress
      @webstylepress  3 หลายเดือนก่อน

      error detail?

    • @Lale728
      @Lale728 3 หลายเดือนก่อน

      I named react projects in my folder error projects😂.