Giter Site home page Giter Site logo

Comments (9)

tylersticka avatar tylersticka commented on May 25, 2024

Maybe, maybe not. See #72 for history.

from drizzle.

calebeby avatar calebeby commented on May 25, 2024

Do we still need the demo functionality? (Is that a feature that is actually used?)

from drizzle.

calebeby avatar calebeby commented on May 25, 2024

Should I switch it from gulp-gh-pages to gh-pages? Should I try to switch it to deploy it to netlify?

from drizzle.

tylersticka avatar tylersticka commented on May 25, 2024

Hmm... so I think what's happened is that when we launched Drizzle, the GitHub demo had to occupy a special gh-pages branch:

drizzle/gulpfile.js

Lines 48 to 58 in 6d53e7d

/**
* Register demo task (deploy output to GitHub Pages)
* NOTE: Run this after building.
*/
gulp.task('demo', () => {
const buildDest = `${config.drizzle.dest.pages}/**/*`;
return gulp.src(buildDest)
.pipe(ghPages({
cacheDir: 'demo'
}));
});

While this is only necessary for the demo, I think it means we can't remove it unless we redo how the demo is sourced?

/CC @derekshirk @gerardo-rodriguez

from drizzle.

gerardo-rodriguez avatar gerardo-rodriguez commented on May 25, 2024

Should I try to switch it to deploy it to netlify?

@tylersticka @derekshirk I honestly can't remember if we'd shifted over to using Netlify around the time of #72. I wouldn't mind shifting it over to Netlify. Do either of you see a reason why we shouldn't do this?

/cc @calebeby

from drizzle.

tylersticka avatar tylersticka commented on May 25, 2024

@gerardo-rodriguez We use Netlify on our projects, but the Drizzle demo is in GitHub pages: http://cloudfour.github.io/drizzle/

At the time, I think our logic was that there wasn't a need to add a separate hosting dependency for a simple demo. I also think it was when Netlify was young and maybe didn't have as nice of a free plan? I'm open to switching this up if we decide to host the demo elsewhere, as long as we make sure any links (not just here, but in our blog posts and stuff) are updated or redirected.

from drizzle.

calebeby avatar calebeby commented on May 25, 2024

So if we want to keep the demo functionality, and are fine with sticking to GitHub pages for it, I don't think there is a reason to remove the gulp-gh-pages dependency. Can I close this?

from drizzle.

gerardo-rodriguez avatar gerardo-rodriguez commented on May 25, 2024

as long as we make sure any links (not just here, but in our blog posts and stuff) are updated or redirected.

Good point @tylersticka. If I'm honest, this is something I wouldn't want to do unless it absolutely had to be done. 😬

So if we want to keep the demo functionality, and are fine with sticking to GitHub pages for it, I don't think there is a reason to remove the gulp-gh-pages dependency. Can I close this?

@calebeby This sounds correct to me.

from drizzle.

calebeby avatar calebeby commented on May 25, 2024

OK, closing

from drizzle.

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.