sourcebots / tasks

Things that we need to do
MIT License
1 stars 0 forks source link

Update & deploy competition-website #276

Closed PeterJCLaw closed 3 years ago

PeterJCLaw commented 3 years ago

https://github.com/srobo/competition-website/ has a branch which has the SourceBots branding. Since we're remote this year, having it would be useful. However it likely needs updating and may need the porting of the two-team arena support.

PeterJCLaw commented 3 years ago

https://github.com/sourcebots/competition-website/tree/hugo-sp2021 now exists. No plan to merge it to master though.

@RealOrangeOne I'm assuming you know things about how https://sourcebots.co.uk/ is hosted -- is it GitHub pages or a VM somewhere? How can we facade it over to being the competition website?

RealOrangeOne commented 3 years ago

It's hosted with Netlify. We can either point DNS over, or route just a single path (eg /comp). The latter being marginally easier.

PeterJCLaw commented 3 years ago

How do you suggest we do the homepage takeover?

RealOrangeOne commented 3 years ago

That can be done with a redirect as well

Should be just a few lines of change https://docs.netlify.com/routing/redirects/rewrites-proxies/

PeterJCLaw commented 3 years ago

Does Sourcebots have a netlify account already? If so, how can we go about adding https://github.com/sourcebots/competition-website/tree/hugo-sp2021 to it? (I can't recall at all how we deployed it previously)

PeterJCLaw commented 3 years ago

https://sourcebots.co.uk/comp is live.

PeterJCLaw commented 3 years ago

Calling this done. We've directed the competitors to https://sourcebots.co.uk/comp, so we don't strictly need the homepage takeover.