Source code for my personal site
cd
to the root directory- Run
npm start
orng serve
to build and host the site locally. To expose the site to your local network, useng serve --host 0.0.0.0
. - Connect to the page at localhost:4200, or <host's IP address>:4200 if you're accessing the site from a phone or something else.
Just merge the changes into the main
branch. The .github/workflows/angular_build_deploy.yml
action will handle building and deploying the Angular app.
cd
to the root directory- Make sure the Angular CLI GH Pages package is installed:
ng add angular-cli-ghpages
ng deploy
This builds the app and pushes it to the gh-pages
branch on GitHub. GitHub Pages is already configured to serve from that branch, and has it's custom domain set up to serve from nickschorr.com
as well.