Coder Social home page Coder Social logo

website's Introduction

Ember Website

The website for the Ember.js project.

Contributing

To get started:

git clone git://github.com/emberjs/website.git
cd website
bundle
bundle exec middleman

Then visit http://localhost:4567/

Note: unless you're working with the API docs, don't use rake preview—use middleman (aka middleman server) instead.

API Documentation

You can preview api documention, by generating docs from the source code. Clone the three repositories, then from project executing the specific tasks to build the docs locally.

  • For the ember.js and website projects a rake task will build the docs
  • For the data project the yuidocjs npm library is required to build docs

Node, npm, Ruby, bundler are required to preview documentation locally

The repositories for ember.js, data and the website need be located in the same directory:

emberjs/
    website/
    ember.js/
    ember-data/

Notice that the name of the data project needs to use ember-data not data

  • In the ember.js directory execute bundle exec rake ember:docs
  • In the ember-data directory execute grunt docs
  • Finally, in the website directory execute bundle exec rake generate_docs

You can launch the website, bundle exec middleman, to preview the generated docs.

Requirements

If the bundle command fails to run, you may need to upgrade your Ruby version. The Ember.js website build requires 1.9.3 or newer (2.0.0 recommended). You can use RVM to install it:

curl -L https://get.rvm.io | bash -s stable
rvm install 2.0.0
rvm use 2.0.0

Troubleshooting tips for Windows devs

For Windows developers using RubyInstaller, you'll need to download the DevKit and install it using instructions: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

After you have a proper install, you can then run:

gem install bundler
gem update listen
gem update middleman
gem install wdm

Lastly, you can add the following line to your Gemfile:

gem 'wdm'

website's People

Contributors

stefanpenner avatar rwjblue avatar wagenet avatar tomdale avatar twokul avatar trek avatar wycats avatar wifelette avatar fivetanley avatar machty avatar patr1ck avatar perlun avatar peritpatrio avatar tricknotes avatar kingpin2k avatar ebryn avatar dgeb avatar sly7-7 avatar gilesbowkett avatar mixonic avatar mattjmorrison avatar balinterdi avatar goshacmd avatar ugisozols avatar lukemelia avatar bmac avatar teddyzeenny avatar nubs avatar abuiles avatar mehulkar avatar

Watchers

Peter Bergström 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.