UF-Carpentry / website

http://www.uf-carpentries.org/
Other
3 stars 9 forks source link

Set up netlify deployment #1

Closed ha0ye closed 6 years ago

ha0ye commented 6 years ago

@mjcollin has some URLs reserved for us to use.

mjcollin commented 6 years ago

I have uf-carpentry.org and ufcarpentry.org. Which one do you want to use? To hook it up add a file named CNAME that contains nothing but the name you want to serve the site under eg "www.ufcarpentry.org".

ha0ye commented 6 years ago

I like uf-carpentry.org because the URL is easier to read, but we can have both direct to the same site, right?

mjcollin commented 6 years ago

In looking at this a bit more, using a custom domain w/ Github pages will change all the URLs for the other repositories we have for workshops. I also need to deal with the multiple names outside Github and my low-cost name registrar doesn't offer that redirection service for free.

I may end up setting up a web server w/ Jekyll on it to pull from this repo and host the site in the ACIS lab instead. I'll work on it this weekend.

ha0ye commented 6 years ago

My understanding is that if we use netlify, we would turn off GitHub pages for the website repo, and netlify would build and host the site from that particular repo, so it wouldn’t affect the workshop sites which exist in other repos.

@justinmillar any thoughts?

justinmillar commented 6 years ago

@ha0ye @mjcollin This is my understanding as well. We would point Netlify to the UF-Carpentry/website repo to construct the site, and on the 'Events' sections our links will direct to the individual workshop repos (i.e. they will be external links outside of the unique UF-Carpentry/website domain).

ha0ye commented 6 years ago

@mjcollin screen shot 2018-05-23 at 4 17 36 pm

mjcollin commented 6 years ago

I can do that but I'd prefer just to create a record for "www" and "@" for just the IP addresses that are their web servers.

NM, found the docs, will do tonight: https://www.netlify.com/docs/custom-domains/

mjcollin commented 6 years ago

Made records for both ufcarpentry.org and uf-carpentry.org with and without www. Their guidance is to use www.... so their CDN network works. Final answer:

http://www.uf-carpentry.org