Giter Site home page Giter Site logo

safe-driving-slides's Introduction

Safe driving slides

View on GitHub Pages.

Infra

  • Includes Reveal.js as a Git submodule so that Reveal.js's Git commit history is not confused with the presentation's Git commit history.
  • Makes future updating of Reveal.js version very easy (see Updating below).
  • Reduces the size of the presentation repositories significantly.
  • Automatically creates update PRs via Dependabot (experimental).

Development

  1. If you clone the repo locally you also need to get the submodule files with git submodule update --init --recursive

  2. You can use any local server to serve the files. One option is live-server (install it with npm install -g live-server' then type live-server` in the command line). Using a local server gives you additional features such as live-reload and some of the more advanced Reveal.js features.

  3. Push completed slides back to GitHub

  4. Configure your GitHub pages settings to serve the slides from youraccount.github.io/repositoryname (or custom domain even)

Updating Reveal.js

  • You may get Dependabot alerts from GitHub to warn you of vulnerabilities in the Reveal.js code. To make these go away, update the submodule.

  • To update you can use the script s/update which updates Reveal.js to latest. The first time you run this command (on some systems) you will need to make it executable, by running chmod +x s/update. This can also be done in the File Manager UI in many systems.

  • For older repositories made from this template, the command to run is git submodule update --rebase --remote, from the root of the repository (not the reveal.js submodule directory itself) to update.

  • link for info on updating submodules https://stackoverflow.com/questions/1979167/git-submodule-update

License

  • MIT Licensed as per Reveal.js itself

safe-driving-slides's People

Contributors

leftys avatar

Watchers

 avatar  avatar

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.