angular-modal-gallery icon indicating copy to clipboard operation
angular-modal-gallery copied to clipboard

DOC ON PRIVATE SERVER (about 50€/YEAR with OVH or Google cloud) instead of github pages (donations are necessary for this issue)

Open Ks89 opened this issue 6 years ago • 8 comments

I'm really angry about Github pages, so I'm thinking to push the official doc website on a private server.

Pros:

  • faster and no problem with deploy
  • multiple version of the doc with a prefix in url like: 'www.example.com/angular-modal-gallery/v5.0.1/features'. In this way I can leave also older versions
  • It's good to have a server not only for static assets but also with nodejs, so server side rendering will be possible :). In this way I can test angular-modal-gallery + SSR in production.

Cons:

  • I have to pay for it :(

If you want to help me with donations to pay for this service, check 'donate' button in my readme or in the navbar of the official doc website.

Ks89 avatar Mar 01 '18 22:03 Ks89

If someone want to contribute, this is the link to donate https://www.paypal.me/stefanocappa

Ks89 avatar Mar 01 '18 22:03 Ks89

Have you considered Firebase hosting? Their CLI is really easy to use, it offers nice features (roll back), and their free plans allow for quite some traffic.

tobi-or-not-tobi avatar Mar 24 '18 07:03 tobi-or-not-tobi

I never used firebase hosting, but it seems like github pages with better performances and rollback. Ok, probably it's better than github pages :) Thank you for the hint!

However, I'm trying to use also server side rendering with nodejs, in this way I can test SSR support of angular-modal-gallery in production.

Ks89 avatar Mar 24 '18 16:03 Ks89

You can actually use firebase for SSR as well, see for example https://codeburst.io/next-js-on-cloud-functions-for-firebase-with-firebase-hosting-7911465298f2. I would however not go down that route as its relatively complicated and not so reusable for others.

Why not use firebase for static hosting of the demo site and build/prove the SSR locally and provide the nodejs script in the repo so that others can run it themselves?

Or use a free nodejs server, see https://makeawebsitehub.com/free-node-js-hosting/ for a list of free options.

tobi-or-not-tobi avatar Mar 24 '18 21:03 tobi-or-not-tobi

Documentation must be on a server without anything to build. It must be something simple e quick to use.

I cannot use nextjs, but I need all stuff by Angular to add SSR. That procedure is so complicated also for react and I cannot imagine how can it be with Angular. SSR is difficult also on a private server where I can do everything I want.

PS: I tried some of that websites, like Heroku, but without to pay they are very limited and with small performance (sleep if not used and so on). I need a fast server, because there are many images (and more to come).

However I'll try to investigate in Azure

Ks89 avatar Mar 25 '18 17:03 Ks89

Ah ok, only Openshift and Heroku are really free. No, I cannot use these to give a good experience to users. I need something more powerful with less limits.

Ks89 avatar Mar 25 '18 17:03 Ks89

Oh, i posted the wrong link for angular/ssr/firebase. The right one is https://medium.com/@hamedbaatour/angular-5-server-side-rendering-with-firebase-step-by-step-guide-ec5f4d8ef38b. Anyway, you know best what to use.

tobi-or-not-tobi avatar Mar 25 '18 17:03 tobi-or-not-tobi

Ok, I'll investigate this solution. Thank u.

Ks89 avatar Mar 25 '18 18:03 Ks89