GithubHelp home page GithubHelp logo

Move images to a folder about dinosaurs HOT 9 CLOSED

hackclub avatar hackclub commented on June 18, 2024
Move images to a folder

from dinosaurs.

Comments (9)

BrightTheBackpack avatar BrightTheBackpack commented on June 18, 2024 1

Should be possible. Looking at the api, on line 6 of dino-png.js, setting https://raw.githubusercontent.com/hackclub/dinosaurs/main/ to https://raw.githubusercontent.com/hackclub/dinosaurs/main/folder_name. Either way, the site is down. I think moving it to a folder would be more convenient.

from dinosaurs.

ajs256 avatar ajs256 commented on June 18, 2024

We've considered this, but it would break services like https://geta.dino.icu. That seems to be down, so I feel like that move makes sense. @hackclub/dino-wranglers any thoughts?

from dinosaurs.

 avatar commented on June 18, 2024

@ajs256 - Would it not be possible to configure the API so that it pulls images from a specific folder in the repository, rather than the root directory of the repository...?

from dinosaurs.

TheGuyDangerous avatar TheGuyDangerous commented on June 18, 2024

Should I work on the issue ? or is it available only to the community runners

from dinosaurs.

maxwofford avatar maxwofford commented on June 18, 2024

We'll need to update hack.af/draw-dino, which is the big change to make. I'm totally fine with changing the repo structure, but this is where beginners make their first PR and I want to make sure that process is as smooth as possible for them.

from dinosaurs.

maxwofford avatar maxwofford commented on June 18, 2024

Here's the repo link if anyone wants to take a crack at it https://github.com/hackclub/draw-dino

from dinosaurs.

BrightTheBackpack avatar BrightTheBackpack commented on June 18, 2024

i can try when i get home

from dinosaurs.

BrightTheBackpack avatar BrightTheBackpack commented on June 18, 2024

If we decide to through with this, heres all the steps we would have to do

  1. Move all the dino's into a folder
  2. Edit draw-dino site
    -Change Public/steps/upload.mp4
    -Change line 228 from index.js to "Click into the drawings folder, then click "Add File"."
  3. Change http://rawr.hackclub.com/ and https://geta.dino.icu/
    -Not 100% sure where the source code for these are

from dinosaurs.

sarthaktexas avatar sarthaktexas commented on June 18, 2024

Un-assigning and closing because no work has been done. Geta.dino.icu was on repl.it deployments and I think we can forget about it for now until somebody rebuilds that. Since rawr.hackclub.com exists, I don't think there's a need to move the repository structure around. The workflow works, and is meant for beginners, and if this is an issue of not being able to get to the README easily, rawr.hackclub.com fixes that.

from dinosaurs.

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.