GithubHelp home page GithubHelp logo

Hosting the new website about numpy.org HOT 17 CLOSED

numpy avatar numpy commented on August 26, 2024
Hosting the new website

from numpy.org.

Comments (17)

joelachance avatar joelachance commented on August 26, 2024 1

I doubt Github Pages or Netlify offers any native analytics. One (free) option is Google Analytics, which would give us unique visitors and locations. This might be nice to know what translations we might want to tackle. This is just a script tag we add to the page, so we could use this with any deployment method.

Do you happen to have more info on either Cloudflare analytics or how it was deployed? I might be able to dig something up.

from numpy.org.

rgommers avatar rgommers commented on August 26, 2024 1

Google Analytics should give us enough info. Some Cloudflare data, also useful as a reference so we can see how much more traffic a new site gets :)

image

image

image

from numpy.org.

Shekharrajak avatar Shekharrajak commented on August 26, 2024 1

Relevent discussion: Shekharrajak/poc-hugo#3 (comment)

from numpy.org.

InessaPawson avatar InessaPawson commented on August 26, 2024 1

One (free) option is Google Analytics, which would give us unique visitors and locations. This might be nice to know what translations we might want to tackle. This is just a script tag we add to the page, so we could use this with any deployment method.

@joelachance @rgommers Now, that we are so close to the launch, let's set up an account with Google Analytics.

from numpy.org.

rgommers avatar rgommers commented on August 26, 2024 1

@rgommers I thought we were leaning towards GitHub Actions.

It's just a "can't keep postponing the launch forever" - it's not a hard requirement to do via CI, so can do after first launch (if we want it to be in the next 5-10 days ...).

If Cloudflare is preferred, frankly I'd still set up with Google Analytics to get insight on keywords/phrases that are driving traffic to the website. That would give us a better understanding of what content is missing or needs to be expanded, as well as optimize the footer by including the links to the most visited pages. I’m sure we will uncover some interesting data that I’m not even thinking of right now.

That sounds good, if Hugo support (https://gohugo.io/templates/internal/#google-analytics) works it should not be too much work. I'd also keep it for later though - we're really stretching to get the must-haves done.

from numpy.org.

dashohoxha avatar dashohoxha commented on August 26, 2024

If moving from GitHub pages is an option, then I would prefer GitLab Pages. They support Hugo out of the box (and many other site generators as well):

This means that as soon as a commit is made (or a merge request accepted), the website will be updated automatically. This simplifies and improves the workflow for making changes to the website, because everyone can contribute, even small changes/correction, straight from the web interface of GitLab.

This would also simplify the workflow for translations, in case we decide to support them. The translators can work directly on the web interface of GitLab, and finally submit a merge request, which can be accepted by language admins.

from numpy.org.

rgommers avatar rgommers commented on August 26, 2024

If moving from GitHub pages is an option

I think you mean moving the repo away from GitHub? That's not really an option. Moving the deployment is, whatever works.

from numpy.org.

dashohoxha avatar dashohoxha commented on August 26, 2024

I mean moving numpy/numpy.org to GitLab, not numpy/numpy etc. I know that it is not convenient to have repositories hosted in different places, so I am almost sure that nobody will accept this.

from numpy.org.

joelachance avatar joelachance commented on August 26, 2024

@dashohoxha I'm pretty sure Github has the same functionality you're mentioning. See below:

https://pages.github.com/
https://github.com/features/integrations

Netlify gives us a little more visibility into bandwidth, but both should be very similar for deployment.

from numpy.org.

rgommers avatar rgommers commented on August 26, 2024

One thing I liked about Cloudflare is that you get good statistics, e.g. unique visitors per month. Stefan just moved numpy.org under the NumFOCUS Cloudflare account. Not sure if GitHub Pages offers that. For scipy.org (not admin'ed by NumFOCUS) we just have raw server logs, which is much more painful.

from numpy.org.

joelachance avatar joelachance commented on August 26, 2024

Looks like either would work great!

from numpy.org.

stefanv avatar stefanv commented on August 26, 2024

GitHub does not do Hugo page builds, so for that we'd currently use Travis-CI—as we currently do to build the NEPs and devdocs. I think there's nothing stopping us, in principle, from using GitLab or Netlify for deployment. As mentioned by others, we already have Cloudflare set up to handle the bandwidth issue.

from numpy.org.

rgommers avatar rgommers commented on August 26, 2024

@stefanv for staying with GitHub Pages there's now GitHub Actions, which since today has CI/CD in beta. That saves messing around with permissions and API tokens to run a simple website build and deploy.

from numpy.org.

rgommers avatar rgommers commented on August 26, 2024

We already have Cloudflare set up, which gives the analytics I put a screenshot for above. I think we're good here for now, I don't see an issue staying with GitHub Pages + Cloudflare.

from numpy.org.

joelachance avatar joelachance commented on August 26, 2024

I mostly haven't been apart of any work in this ticket, but is there still work to be done here or can we close this ticket? @rgommers

from numpy.org.

rgommers avatar rgommers commented on August 26, 2024

Let's close it - we'll do the first deploy manually I think, and deal with auto-deploy to GH Pages once we have some more safeguards in place.

from numpy.org.

InessaPawson avatar InessaPawson commented on August 26, 2024

@stefanv for staying with GitHub Pages there's now GitHub Actions, which since today has CI/CD in beta. That saves messing around with permissions and API tokens to run a simple website build and deploy.

@rgommers I thought we were leaning towards GitHub Actions.

If Cloudflare is preferred, frankly I'd still set up with Google Analytics to get insight on keywords/phrases that are driving traffic to the website. That would give us a better understanding of what content is missing or needs to be expanded, as well as optimize the footer by including the links to the most visited pages. I’m sure we will uncover some interesting data that I’m not even thinking of right now.

from numpy.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.