vladotesanovic / ngSemantic

Angular 2 building blocks :package: based on Semantic UI
https://ng-semantic.herokuapp.com/
MIT License
973 stars 148 forks source link

Move to GhPages ? #72

Open nimaen opened 7 years ago

nimaen commented 7 years ago

Could be nice to move to Github Pages instead of Heroku, or to have both to compare 😄 Heroku is somehow kinda slow to me...

vladotesanovic commented 7 years ago

I tried to deploy here: https://vladotesanovic.github.io/ngSemantic/

But i am getting 404 errors, image

What i did is very basic setup:

image

nimaen commented 7 years ago

Yes indeed, Gh Pages is usually very simple for static websites. Have a check here and tell me if it can help :) http://developer.telerik.com/featured/quick-angular-2-hosting-angular-cli-github-pages/

nimaen commented 7 years ago

BTW, the angular 2 cli project allow you to deploy easily to gh-pages. There might be some insights to take from there :)

vladotesanovic commented 7 years ago

Yep, i ll try later with angular-cli

angular-cli, component use template for displaying html while we use templateUrl

Seems that github follow links in index.html to make them available.

We have two solutions:

  1. Create gh-pages repo
  2. Serve everything from /docs folder
nimaen commented 7 years ago

Hum alright, I'll try to have a look by this evening. Got a lot of stuff to work on already 😄

vladotesanovic commented 7 years ago

In my opinion we should not rush into this or spend to much time on this, Heroku is just fine ( maybe little slower as you said ) for now.

nimaen commented 7 years ago

Indeed 😄