xemantic / github-users

Lists GitHub users. Minimal app demonstrating cross-platform app development (Web, Android, iOS) where core logic is shared and transpiled from Java to JavaScript and Objective-C.
GNU General Public License v3.0
6 stars 2 forks source link

Refactorings and real life adjustements #3

Closed morisil closed 7 years ago

morisil commented 7 years ago

@mnieber I had it, I even tried to upload it to another github repo, but it is not being hosted with gh-pages for the reasons I don't understand and I don't want to investigate now:

https://github.com/xemantic/github-users-web-demo

Should be visible here: :(

https://xemantic.github.io/github-users-web-demo/

You can clone this repo though and see it locally if you want, it contains compiled build. Meanwhile, instead of making this version public, I decided to add some more tools from Google to the project, and it required a lot of research: Dagger dependency injection container, Closure Templates and Closure Compiler, Incremental DOM. You can check them in the initial commit, it builds, still needs some polishing:

https://github.com/xemantic/github-users-web/tree/firstVersion

I will try to publish the build on the internet soon.

mnieber commented 7 years ago

I'm sorry but I don't understand. You tried to upload the web example code to https://github.com/xemantic/github-users-web but it didn't work?

On Sat, May 27, 2017 at 1:52 AM, Kazik Pogoda notifications@github.com wrote:

@mnieber https://github.com/mnieber I had it, I even tried to upload it to another github repo, but it is not being hosted with gh-pages for the reasons I don't understand and I don't want to investigate now:

https://github.com/xemantic/github-users-web-demo

Should be visible here: :(

https://xemantic.github.io/github-users-web-demo/

You can clone this repo though and see it locally if you want, it contains compiled build. Meanwhile, instead of making this version public, I decided to add some more tools from Google to the project, and it required a lot of research: Dagger dependency injection container, Closure Templates and Closure Compiler, Incremental DOM. You can check them in the initial commit, it builds, still needs some polishing:

https://github.com/xemantic/github-users-web/tree/firstVersion

I will try to publish the build on the internet soon.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xemantic/github-users/pull/3#issuecomment-304410557, or mute the thread https://github.com/notifications/unsubscribe-auth/AAx-zBphcgFWyE2n3M1-mROLT69y1MhUks5r92W9gaJpZM4Nk7Tl .

morisil commented 7 years ago

@mnieber Sorry, I should have been more specific :( Are you familiar with GitHub pages product:

https://pages.github.com/

You can server any static website for free directly from your github repository. The most convenient hosting ever which I am using for many websites, sometimes with cloudflare in front for CDN. For this reason I wanted to use it as a quick solution for this project. Technically I would push a current build of the github-users-web project as a single commit to the github-users-web-demo project and it would be visible under:

https://xemantic.github.io/github-users-web-demo/

But this quickest and simplest way has drawbacks as it:

  1. doesn't work straight away for some reason
  2. is not really intended for automated builds, but rather for human generated content

Still travis, the build system, has option to publish build artifacts to gh-pages. But to have something more sustainable I will go either for Google Cloud Storage or Google App Engine, especially if any backend part will be delivered in the future, like service collecting stack traces of unexpected exceptions occurring on the client.