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

Migrate hosting to Firebase Static Hosting #17

Merged
merged 1 commit into from May 28, 2019

Conversation

paulproteus
Copy link
Contributor

I'm going to merge this now; making this a pull request for clarity for the future.

For "simplicity" (nothing is ever exactly simple), I've decided to migrate the hosting portion of this site to Google Firebase Static Hosting. I've updated README accordingly.

Action required: @shaunagm , you specifically need to click a link that Google sent you so you can be added to the opensource-events-com Firebase project. Once you are in it, I consider you the owner; feel free to ask me for advice, but it's yours, change the site if you want, etc. I'll aim to keep it online, which should happen automatically even if I do nothing; I'll also keep renewing the domain for five years or so, and then we can think again.

My request is that you try doing a deploy on your own, and try it, and make sure that you understand what I've done, and make sure the docs are something you'll understand if you ever need to fix a typo or something later.

For what it's worth, I picked Google Firebase Static Hosting because:

  • It's easy to set up HTTPS.

  • If we keep the site using Sphinx, then Sphinx has a concept of the site's source code (which is in GitHub at https://github.com/openhatch/in-person-event-handbook ) as well as concept of the built site (which is the HTML that people see). I think it's straightforward to use GitHub for only one of these (source code), and to use a different thing for the site hosting, since otherwise it's too easy to get confused and think that the GitHub source code is also the place that stores the live site.

  • Right now, due to the way I migrated this site, there is another GitHub repository that contains the built site, and this is confusing IMHO: https://github.com/openhatch/opensource-events.com . I'll probably delete that once the site works properly in Firebase.

  • Firebase Static Hosting is free of charge (up to 10GB/mo of transfer, which seems fine to me), so it's equally good to GitHub Pages in that regard.

In the process, I have temporarily replaced the site with a HTTPS error page; this should self-heal within approx 24 hours.

I'm writing this in a hurry to get it done, so if my tone seems off, please know that I am writing this in the interest of being informative; if some of it is redundant with things you already know, no condescension meant.

You can add this info to the README if you want!

Let me know when you try the deploy.sh file!

Best!,

Asheesh.

@paulproteus paulproteus merged commit 16c8b7d into master May 28, 2019
@paulproteus paulproteus deleted the asheesh/migrate-to-firebase-hosting branch May 28, 2019 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant