Commands

  1. sudo apt-get updates
  2. sudo apt-get upgrade
  3. sudo apt-get install git
  4. git –version
  5. which git
  6. https://www.microsoft.com/net/core#linuxubuntu
  7. For 14.04: sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
  8. For 16.04: sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
  9. sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys 417A0893
  10. sudo apt-get update https://github.com/dotnet/core/tree/master/release-notes
  11. sudo apt-cache search dotnet
  12. sudo apt-get install dotnet-dev-1.0.1
  13. mkdir HelloWorldApp
  14. cd HelloWorldApp
  15. dotnet new
  16. ls
  17. sudo nano Program.cs (ctrl+x to exit)
  18. dotnet restore
  19. dotnet run
  20. dotnet help
  21. mkdir HelloAspNet
  22. cd HelloAspNet
  23. dotnet new mvc
  24. dotnet restore
  25. dotnet run
  26. http://localhost:5000
  27. sudo apt-get install build-essential libssl-dev curl
  28. https://github.com/creationix/nvm
  29. curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
  30. command -v nvm
  31. nvm install stable
  32. npm install -g yo
  33. npm install -g bower
  34. npm install generator-aspnet
  35. yo aspnet (select Web app basic, bootstrap, and give it a name)
  36. cd
  37. dotnet restore
  38. dotnet run
  39. git clone https://github.com/adyle5/code_camp_template.git/
  40. cd code_camp_template
  41. dotnet restore
  42. dotnet run
  43. cp -r ~/code_camp_template/* ~/HelloCodeCamp/
  44. cd HelloCodeCamp
  45. ls -a
  46. (if .git exists: rm -rf .git)
  47. https://code.visualstudio.com/
  48. cd Downloads
  49. ls
  50. sudo dpkg -i code (then tab)
  51. cd ~/HelloCodeCamp
  52. code .
  53. git remote add origin
  54. git push origin master