How to run Angular code from Github in Vscode
How to run Angular code from Github in Vscode
Can anyone please help me on running someone's code that I downloaded from Github in Visual Studio code
github project
Could you pls explain how it works? I am new to Git
– Mohammed Ajmal
Sep 13 '18 at 5:24
Please check given answer.
– Shashikant Devani
Sep 13 '18 at 5:30
2 Answers
2
You can directly run angular's github project
without download it on Stackblitz
angular's github project
just replace github url with stackblitz url :
replace https://github.com/
with https://stackblitz.com/github/
https://github.com/
https://stackblitz.com/github/
Example :-
GitHub url : https://github.com/onecompileman/angular-stateside
replace with : https://stackblitz.com/github/onecompileman/angular-stateside
Or Run github downloaded angular project from your computer.
Note : You must have nodeJS and angular-cli installed into your computer.
GO into your downloaded folder.
and Open command prompt. and write command : npm install
after complete it. write ng serve --open
.
npm install
ng serve --open
and your project automatically open in your browser.
Please also accept the answer if this help you.
– Shashikant Devani
Sep 13 '18 at 5:44
Try it
npm install
ng serve
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
You can directly run
github project
online without downloaded it.– Shashikant Devani
Sep 13 '18 at 5:22