angular-modal-gallery
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)
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.
If someone want to contribute, this is the link to donate https://www.paypal.me/stefanocappa
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.
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.
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.
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
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.
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.
Ok, I'll investigate this solution. Thank u.