Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ks89 opened this issue Mar 1, 2018 · 8 comments

Comments

@Ks89
Copy link
Owner

Ks89 commented Mar 1, 2018

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 Ks89 added this to the next milestone Mar 1, 2018
@Ks89 Ks89 self-assigned this Mar 1, 2018
@Ks89 Ks89 changed the title Official doc on a private server instead of github pages (donations are well accepted) DOC ON PRIVATE SERVER (50€/YEAR with OVH) instead of github pages (donations are well accepted) Mar 1, 2018
@Ks89
Copy link
Owner Author

Ks89 commented Mar 1, 2018

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

@tobi-or-not-tobi
Copy link

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.

@Ks89
Copy link
Owner Author

Ks89 commented Mar 24, 2018

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.

@tobi-or-not-tobi
Copy link

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.

@Ks89
Copy link
Owner Author

Ks89 commented Mar 25, 2018

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
Copy link
Owner Author

Ks89 commented Mar 25, 2018

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.

@tobi-or-not-tobi
Copy link

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.

@Ks89
Copy link
Owner Author

Ks89 commented Mar 25, 2018

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

@Ks89 Ks89 changed the title DOC ON PRIVATE SERVER (50€/YEAR with OVH) instead of github pages (donations are well accepted) DOC ON PRIVATE SERVER (about 50€/YEAR with Google cloud) instead of github pages (donations are well accepted) May 5, 2018
@Ks89 Ks89 changed the title DOC ON PRIVATE SERVER (about 50€/YEAR with Google cloud) instead of github pages (donations are well accepted) DOC ON PRIVATE SERVER (about 50€/YEAR with Google cloud) instead of github pages (donations are well necessary fot this issue) May 5, 2018
@Ks89 Ks89 changed the title DOC ON PRIVATE SERVER (about 50€/YEAR with Google cloud) instead of github pages (donations are well necessary fot this issue) DOC ON PRIVATE SERVER (about 50€/YEAR with OVH or Google cloud) instead of github pages (donations are well necessary fot this issue) May 5, 2018
@Ks89 Ks89 changed the title DOC ON PRIVATE SERVER (about 50€/YEAR with OVH or Google cloud) instead of github pages (donations are well necessary fot this issue) DOC ON PRIVATE SERVER (about 50€/YEAR with OVH or Google cloud) instead of github pages (donations are necessary for this issue) May 5, 2018
@Ks89 Ks89 modified the milestones: next, 8.0.0 Oct 28, 2018
@Ks89 Ks89 modified the milestones: 8.0.0, next Jan 26, 2019
@Ks89 Ks89 pinned this issue Jan 26, 2019
@Ks89 Ks89 unpinned this issue Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants