Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Hosting the site #11

Closed
peterdesmet opened this issue Nov 14, 2022 · 8 comments
Closed

Hosting the site #11

peterdesmet opened this issue Nov 14, 2022 · 8 comments

Comments

@peterdesmet
Copy link
Member

@MattBlissett @timrobertson100 is there a compelling reason to host the TDWG website on a GBIF server, rather than GitHub Pages?

Advantages I see with GitHub pages:

  • Already used for DwC, AC, Camtrap DP and other TDWG satellite website
  • Jekyll theme will be used by the satellite websites too, so it has to work with GitHub Pages anyway
  • Feedback that the site is building (i.e. the yellow dot or green check)
  • Still possible to have custom domain
  • Still possible to setup redirects?
@MattBlissett
Copy link
Member

Are HTTP redirects possible? I see workarounds, but I'm not aware of a way to have redirects.

Jenkins supports the yellow/green/red dot, it's just not been enabled.

https://github.com/tdwg/infrastructure/blob/master/httpd/www.tdwg.org.conf#L54-L82

@stanblum
Copy link
Member

stanblum commented Nov 14, 2022 via email

@peterdesmet
Copy link
Member Author

@MattBlissett I'll let you take a decision on this.

@MattBlissett
Copy link
Member

I've set up https://dev.tdwg.org/ building from this repository.

I want to look at it in more detail tomorrow, as the builds seem to be much slower than they should be -- the Jekyll Docker container isn't caching installed Gems, and is messing about with permissions which slow it down.

@MattBlissett
Copy link
Member

It's now taking about 1 minute to build on Jenkins. This is slower than the Python site, but hopefully not too much of problem.

@peterdesmet
Copy link
Member Author

Thanks for looking into this @MattBlissett I wonder if it’s going to take longer if I add more pages …

@peterdesmet
Copy link
Member Author

Build time should now be lower again (I'm getting 16 seconds locally).

@peterdesmet
Copy link
Member Author

The build is done by Jenkins at https://builds.gbif.org/job/tdwg-website/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants