Deployment on Ubuntu server
removing a folder via powershell:
Recently received instructions on installing cli and after running and getting serious errors, the source mentioned I should be using ubuntu. Well that's not my OS of choice, so that data was deleted.
The CLI doesn't work well with powershell. So I did the quick start tutorial at angular.org and began coding with Code
debug using developer tools in chrome or firebug in firefox
For deployment: webpack
Copy the app folder contents to the starter. replace that <my-app> selector in the app.component.ts file to merge the project.
test with npm install then npm start (verify app is working as desired).
npm run build
this creates a build folder of your app.
For deployment, I recommend copying those files to the website along with the app folder because there are links to css and html that the app may need to run.
Notes to setup git repository:
git remote set-url origin https://github.com/<username>/<project>
git push -u origin master