stamen / open-redistricting

A collaborative, open legislative redistricting tool, built atop GitHub.
http://openredist.org/
BSD 2-Clause "Simplified" License
25 stars 2 forks source link

Set up GitHub Pages redirect to openredist.org #32

Closed ericsoco closed 8 years ago

ericsoco commented 8 years ago

for the latter: https://help.github.com/articles/quick-start-setting-up-a-custom-domain/

waldoj commented 8 years ago

Done. Not sure why I'm getting a GitHub 404, though.

ericsoco commented 8 years ago

Because I forgot step 2 (had to enter openredist.org in the repo settings). We're live! (shhh! don't tell anyone.) http://openredist.org/

waldoj commented 8 years ago

I forget that every time. I create a CNAME file, point the DNS at GitHub's IPs, and then I'm confused why it doesn't work. I have easily a dozen sites hosted on GitHub Pages, too. :-/

ericsoco commented 8 years ago

Actually -- the problem was that I didn't have my CNAME in the build folder and so wasn't getting copied over to gh-pages. You can enter it manually in Settings, but that gets blown away if you push again to gh-pages. I'm guessing that entering it there actually just creates a CNAME in the gh-pages branch for you.