Git Product home page Git Product logo

mijia's Introduction

mijiapresentation

A Bespoke.js presentation generated by generator-bespoke.

View slides locally

First, ensure you have the following installed:

  1. Node.js >= 4.2 [1]

  2. Gulp (command line interface only)

    $ npm install -g gulp-cli

Next, install dependencies (if you ran the generator with the --skip-install switch):

$ npm install

Finally, build and serve the presentation!

$ gulp serve

You can view the presentation in your browser at the URL displayed in the console.

By default, the preview server runs on port 8080. To change this default, you can assign a different number to the PORT environment variable:

$ PORT=8888 gulp serve

To build the presentation without starting the preview server, use:

$ gulp

In both cases, the files are built into the dist directory. You can view the slides outside of the local preview server by navigating to dist/index.html in your browser.

Publish to GitHub Pages

The Gulp build includes a task to publish your presentation to GitHub Pages.

First, make sure you have initialized the project as a git repository and linked it to a GitHub project. The task assumes that the git remote named origin points to the repository on GitHub.

Now you can build the presentation and publish it to GitHub Pages using:

$ gulp publish

The files in the dist directory end up in the gh-pages branch in the repository on GitHub. From there, they can be viewed in a browser from anywhere on the web.


1. We strongly recommend using nvm to manage Node.

mijia's People

Contributors

megaherningrum avatar harvine7 avatar andriwinanda avatar

Watchers

James Cloos 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.