Code Monkey home page Code Monkey logo

learn.jquery.com's Introduction

The jQuery Learning Site

Temporary Breaking News Section

We just changed this repository's name (and consequently its URL) from web-learn-jquery-com to learn.jquery.com. If you already forked the project before this happened and created a remote to track this repo, you'll have to update that reference. Assuming that upstream is what you named your remote, simply use the following command from inside your repo:

git remote set-url upstream https://github.com/jquery/learn.jquery.com

About

Spread across the internet is lot of information about how to learn and use jQuery. This content ranges in quality from excellent to terrible, and is often stuck inside CMSes where only the original author can ever update the content. The goal of this site is twofold

  1. To serve as a central, trustworthy, narrative compendium of information about how to use jQuery and JavaScript
  2. To remain a timely, vibrant, and community-driven reference with a low barrier to contribution

Much of the initial content - and spirit - is from jQuery Fundamentals, an open-source book about jQuery, originally released in 2010 by Rebecca Murphey and bequeathed unto the jQuery Project to serve as the foundation for this site.

This site consists of content maintained in Markdown files, powered by nanoc, a Ruby-based static site generator.

How Can I Help?

The entire site is managed via this Git repository. If you'd like to contribute new articles, make edits to existing content, or work on the site itself, the first thing you'll need is a fork. When you have changes you'd like to have reviewed and integrated into the site, submit a pull request.

If you aren't already familiar with Git, you'll still need a fork and a GitHub account, but you can can edit files directly via GitHub's in-browser editor, but you won't be able to create new content. We encourage you to learn how to use Git andGitHub, it'll probably pretty useful no matter what.

How Do I Get This Running Locally?

This project requires Ruby >= 1.9 and Bundler. If you don't already have a Ruby development environment, please see the corresponding section below.

If you only want to work with and edit content, you don't actually have to get the project running locally, you can just edit/add Markdown content inside of the content directory. Of course, you won't be able to preview your content locally

  • Clone/fork this repo
  • Change to the newly cloned repository's directory
    > cd learn.jquery.com
  • Install the dependencies
    > gem install bundler && bundle install
  • Run the nanoc server
    > nanoc view &
  • The site should be running on http://localhost:3000. Use the --port option to specify a different port.
  • Set the site to watch for changes and re-compile
    > nanoc watch

I Don't (Know If I?) Already Have a Ruby Development Environment

Mac OS X/Linux:

You actually probably already do have some Ruby available, but it's probably not Ruby 1.9. We recommend setting up:

Once you get that all squared away (and yes, we know that might be a big 'once'), you'll want to set your fork to use the Ruby > 1.9 you installed while you were setting up rbenv.

cd ~/THE_DIRECTORY_WHERE_YOU_CLONE_GIT_REPOS/learn.jquery.com rbenv local 1.9.3-p0

Then, you can follow the instructions above, starting at "Install the dependencies"

Windows

  • Grab the latest Ruby package from the Windows-only rubyinstaller.org
  • Install it
  • [Meta-bullet point: This section probably lacks detail. If a Windows-Ruby developer wants to help us flesh this section out, please do!]
  • Follow the instructions above, starting at "Install the dependencies"

learn.jquery.com's People

Contributors

ajpiano avatar danheberden avatar addyosmani avatar gjohnson avatar darcyclarke avatar jdsharp avatar rmurphey avatar akahn avatar eddiemonge avatar kswedberg avatar padolsey avatar metaperl avatar wycats avatar

Stargazers

jag avatar

Watchers

jag avatar 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.