Tuesday, 23 May 2017

Deploying an Angular 2 website to github pages

I am trying to deploy my personal website to Github pages, it is a very simple one page website developed in Angular2 (using Angular CLI) with some information about me.

The process seemed simple, create a repository called christopherkade.github.io and push my code to it, after doing so my Angular CLI README is being displayed at my website.

A couple of questions:

  • Do I required a NodeJS server (that I have been using in parallel to my Angular2 app) to run my app on Github pages? (I do not need a backend, I guess that may answer my question)
  • How may I deploy my website using Githb pages? The documentation lets me deploy a single http file and I cannot figure out how to deploy a fully fledged website.

Here is my repository.



via Chris

No comments:

Post a Comment