GithubHelp home page GithubHelp logo

learn_enough_js's Introduction

Sample app with gallery

This is the full starting application (with image gallery) for the final chapter of Learn Enough JavaScript to Be Dangerous by Michael Hartl, based on the sample application developed in Learn Enough CSS & Layout to Be Dangerous by Lee Donahoe and Michael Hartl.

To get started, first for the repository using the Fork button on the upper-right of the screen.

The next step depends on whether or not you currently have a default GitHub Pages site at <your username>.github.io (as developed in Learn Enough CSS & Layout to Be Dangerous).

If you don't have such a repository, you can clone the gallery app there directly:

$ git clone <clone URL> <your username>.github.io

Then create a new repository of that name at GitHub and push up.

If you already have such a repository, you should clone the gallery app to the default directory:

$ git clone <clone URL>

This will create a local repository called le_js_full, which you can use as a reference for copying over the required files. In particular, you'll need the gallery index.html and the large and small images:

$ cd le_js_full/
$ cp gallery/index.html /path/to/repo/<your username>.github.io/gallery/
$ cp -r images/* /path/to/repo/<your username>.github.io/images/

In either case, you can run the app using the Jekyll static site builder. First install Bundler and the jekyll gem:

$ gem install bundler -v 2.2.17
$ bundle _2.2.17_ install

Then serve the website using bundle exec to execute the jekyll program:

$ bundle exec jekyll serve

At that point, the app will be running on localhost:4000. To deploy your app, push up the app to GitHub Pages as described in Learn Enough CSS & Layout to Be Dangerous.

learn_enough_js's People

Contributors

mhartl avatar alobeast avatar

Watchers

 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.