Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 793 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 793 Bytes

elanaolson.com

This is my personal website and serves as an example of deploying a personal website on Github Pages, read more here.

Dev server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

develop branch serves as my default branch where I track source code and master branch is the rendered JavaScript to help deploy to Github Pages.

Each time I update develop branch, I run this sequence to build to master.

git checkout master

git pull origin develop

ng build --prod --base-href https://github.com/ellamaolson/ellamaolson.github.io

ng deploy —branch=master