Giter Club home page Giter Club logo

Comments (9)

Thom-x avatar Thom-x commented on July 21, 2024 1

Great ! You can do a PR and we will create a new docker tag to test if it's OK.

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on July 21, 2024

It could be a good idea ! I don't really have time to do that but I would be happy to accept PR for it (and review them).

I'm not a front end expert, but I could help on the Docker part. 👍

from docker-fr24feed-piaware-dump1090.

e2jk avatar e2jk commented on July 21, 2024

Yes, time is an issue ;) I'm putting this on my todo list.

from docker-fr24feed-piaware-dump1090.

Thom-x avatar Thom-x commented on July 21, 2024

Thank you !

from docker-fr24feed-piaware-dump1090.

e2jk avatar e2jk commented on July 21, 2024

Hi @Thom-x , I've set up an initial patching setup that adds the FR24 logo and uses a neutral page name. This is how it looks like until now:

Capture d’écran de 2021-02-28 20-09-37

Before I go too far down that road, could you give it a try and tell me if that is in line with what you'd expect?

I've added a bit of explanation on how to run the original script that creates the patch file, not sure if it helps.
Basically I created a .patch file that modifies 4 files from the upstream release, and that file gets plugged into the Dockerfile.

Note: The patch works fine for v3.8.1 (the current target of "latest"), but fails on v4.0 because upstream added extra whitespace in the public_html/script.js file, in the updatePiAwareOrFlightFeeder() function that gets patched. Simple to update when v4.0 (or likely 4.1) is ready for usage.

from docker-fr24feed-piaware-dump1090.

e2jk avatar e2jk commented on July 21, 2024

Just to add a bit more context:

  • The "real" work happens here in the Dockerfile, in which:
    • The FR24 logo gets copied
    • The patch/flightradar24.patch file gets applied that modifies the index page to add the logo and the js files for a neutral page name

from docker-fr24feed-piaware-dump1090.

e2jk avatar e2jk commented on July 21, 2024

PR created with the code until now. I'm running a Raspi 1B, when creating/publishing the new Docker tag can you make sure to upload also the arm version? Thanks.

from docker-fr24feed-piaware-dump1090.

e2jk avatar e2jk commented on July 21, 2024

Thanks for merging #45. Since there are more changes coming up in #49, @Thom-x can you reopen this issue and link the new PR to this issue too?

from docker-fr24feed-piaware-dump1090.

e2jk avatar e2jk commented on July 21, 2024

Great, thanks for merging both PRs!

from docker-fr24feed-piaware-dump1090.

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.