forked from emberjs/guides
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves guides from https://github.com/emberjs/website/ to its own repo
- Loading branch information
Showing
1,240 changed files
with
196,220 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
source 'https://rubygems.org' | ||
source 'https://rails-assets.org' | ||
|
||
gem "redcarpet" | ||
gem "activesupport" | ||
gem "highline" | ||
gem "rake" | ||
gem "coderay", :git => "git://github.com/dgeb/coderay.git", :branch => "handlebars" | ||
gem "middleman", '~> 3.0' | ||
gem "middleman-blog", "~> 3.0" | ||
gem "thin" | ||
gem "rack" | ||
gem "listen" | ||
gem "builder" | ||
gem "middleman-alias" | ||
gem "rails-assets-js-md5" | ||
gem "rails-assets-moment" | ||
gem "underscore-rails" | ||
|
||
group :development, :test do | ||
gem 'pry' | ||
end | ||
|
||
group :test do | ||
gem "rspec" | ||
gem "capybara" | ||
gem "poltergeist" | ||
end | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem 'tzinfo-data', platforms: [:mingw, :mswin] | ||
gem 'wdm', '>= 0.1.0', platforms: [:mingw, :mswin] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,217 @@ | ||
GIT | ||
remote: git://github.com/dgeb/coderay.git | ||
revision: 1362fd4af63331aed51ce9907ad7295cea228874 | ||
branch: handlebars | ||
specs: | ||
coderay (1.1.0.rc1) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
remote: https://rails-assets.org/ | ||
specs: | ||
activesupport (4.1.9) | ||
i18n (~> 0.6, >= 0.6.9) | ||
json (~> 1.7, >= 1.7.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.1) | ||
tzinfo (~> 1.1) | ||
addressable (2.3.7) | ||
builder (3.2.2) | ||
capybara (2.4.4) | ||
mime-types (>= 1.16) | ||
nokogiri (>= 1.3.3) | ||
rack (>= 1.0.0) | ||
rack-test (>= 0.5.4) | ||
xpath (~> 2.0) | ||
celluloid (0.16.0) | ||
timers (~> 4.0.0) | ||
chunky_png (1.3.3) | ||
cliver (0.3.2) | ||
coffee-script (2.3.0) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.9.0) | ||
compass (1.0.3) | ||
chunky_png (~> 1.2) | ||
compass-core (~> 1.0.2) | ||
compass-import-once (~> 1.0.5) | ||
rb-fsevent (>= 0.9.3) | ||
rb-inotify (>= 0.9) | ||
sass (>= 3.3.13, < 3.5) | ||
compass-core (1.0.3) | ||
multi_json (~> 1.0) | ||
sass (>= 3.3.0, < 3.5) | ||
compass-import-once (1.0.5) | ||
sass (>= 3.2, < 3.5) | ||
daemons (1.1.9) | ||
diff-lcs (1.2.5) | ||
erubis (2.7.0) | ||
eventmachine (1.0.7) | ||
execjs (2.3.0) | ||
ffi (1.9.6) | ||
ffi (1.9.6-x86-mingw32) | ||
haml (4.0.6) | ||
tilt | ||
highline (1.6.21) | ||
hike (1.2.3) | ||
hitimes (1.2.2) | ||
hitimes (1.2.2-x86-mingw32) | ||
hooks (0.4.0) | ||
uber (~> 0.0.4) | ||
i18n (0.6.11) | ||
json (1.8.2) | ||
kramdown (1.5.0) | ||
listen (2.8.5) | ||
celluloid (>= 0.15.2) | ||
rb-fsevent (>= 0.9.3) | ||
rb-inotify (>= 0.9) | ||
method_source (0.8.2) | ||
middleman (3.3.7) | ||
coffee-script (~> 2.2) | ||
compass (>= 1.0.0, < 2.0.0) | ||
compass-import-once (= 1.0.5) | ||
execjs (~> 2.0) | ||
haml (>= 4.0.5) | ||
kramdown (~> 1.2) | ||
middleman-core (= 3.3.7) | ||
middleman-sprockets (>= 3.1.2) | ||
sass (>= 3.4.0, < 4.0) | ||
uglifier (~> 2.5) | ||
middleman-alias (0.0.9) | ||
middleman-core (~> 3.2) | ||
middleman-blog (3.5.3) | ||
addressable (~> 2.3.5) | ||
middleman-core (~> 3.2) | ||
tzinfo (>= 0.3.0) | ||
middleman-core (3.3.7) | ||
activesupport (~> 4.1.0) | ||
bundler (~> 1.1) | ||
erubis | ||
hooks (~> 0.3) | ||
i18n (~> 0.6.9) | ||
listen (>= 2.7.9, < 3.0) | ||
padrino-helpers (~> 0.12.3) | ||
rack (>= 1.4.5, < 2.0) | ||
rack-test (~> 0.6.2) | ||
thor (>= 0.15.2, < 2.0) | ||
tilt (~> 1.4.1, < 2.0) | ||
middleman-sprockets (3.4.1) | ||
middleman-core (>= 3.3) | ||
sprockets (~> 2.12.1) | ||
sprockets-helpers (~> 1.1.0) | ||
sprockets-sass (~> 1.3.0) | ||
mime-types (2.4.3) | ||
mini_portile (0.6.2) | ||
minitest (5.5.1) | ||
multi_json (1.10.1) | ||
nokogiri (1.6.6.2) | ||
mini_portile (~> 0.6.0) | ||
nokogiri (1.6.6.2-x86-mingw32) | ||
mini_portile (~> 0.6.0) | ||
padrino-helpers (0.12.4) | ||
i18n (~> 0.6, >= 0.6.7) | ||
padrino-support (= 0.12.4) | ||
tilt (~> 1.4.1) | ||
padrino-support (0.12.4) | ||
activesupport (>= 3.1) | ||
poltergeist (1.6.0) | ||
capybara (~> 2.1) | ||
cliver (~> 0.3.1) | ||
multi_json (~> 1.0) | ||
websocket-driver (>= 0.2.0) | ||
pry (0.9.12.6) | ||
coderay (~> 1.0) | ||
method_source (~> 0.8) | ||
slop (~> 3.4) | ||
pry (0.9.12.6-x86-mingw32) | ||
coderay (~> 1.0) | ||
method_source (~> 0.8) | ||
slop (~> 3.4) | ||
win32console (~> 1.3) | ||
rack (1.6.0) | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rails-assets-js-md5 (1.1.0) | ||
rails-assets-moment (2.9.0) | ||
rake (10.4.2) | ||
rb-fsevent (0.9.4) | ||
rb-inotify (0.9.5) | ||
ffi (>= 0.5.0) | ||
redcarpet (3.2.2) | ||
rspec (3.2.0) | ||
rspec-core (~> 3.2.0) | ||
rspec-expectations (~> 3.2.0) | ||
rspec-mocks (~> 3.2.0) | ||
rspec-core (3.2.0) | ||
rspec-support (~> 3.2.0) | ||
rspec-expectations (3.2.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.2.0) | ||
rspec-mocks (3.2.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.2.0) | ||
rspec-support (3.2.1) | ||
sass (3.4.11) | ||
slop (3.6.0) | ||
sprockets (2.12.3) | ||
hike (~> 1.2) | ||
multi_json (~> 1.0) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sprockets-helpers (1.1.0) | ||
sprockets (~> 2.0) | ||
sprockets-sass (1.3.1) | ||
sprockets (~> 2.0) | ||
tilt (~> 1.1) | ||
thin (1.6.3) | ||
daemons (~> 1.0, >= 1.0.9) | ||
eventmachine (~> 1.0) | ||
rack (~> 1.0) | ||
thor (0.19.1) | ||
thread_safe (0.3.4) | ||
tilt (1.4.1) | ||
timers (4.0.1) | ||
hitimes | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
tzinfo-data (1.2015.1) | ||
tzinfo (>= 1.0.0) | ||
uber (0.0.13) | ||
uglifier (2.7.0) | ||
execjs (>= 0.3.0) | ||
json (>= 1.8.0) | ||
underscore-rails (1.7.0) | ||
wdm (0.1.0) | ||
websocket-driver (0.5.1) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.1) | ||
win32console (1.3.2-x86-mingw32) | ||
xpath (2.0.0) | ||
nokogiri (~> 1.3) | ||
|
||
PLATFORMS | ||
ruby | ||
x86-mingw32 | ||
|
||
DEPENDENCIES | ||
activesupport | ||
builder | ||
capybara | ||
coderay! | ||
highline | ||
listen | ||
middleman (~> 3.0) | ||
middleman-alias | ||
middleman-blog (~> 3.0) | ||
poltergeist | ||
pry | ||
rack | ||
rails-assets-js-md5 | ||
rails-assets-moment | ||
rake | ||
redcarpet | ||
rspec | ||
thin | ||
tzinfo-data | ||
underscore-rails | ||
wdm (>= 0.1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Copyright (c) 2013 Yehuda Katz, Tom Dale and Ember.js contributors. | ||
|
||
--- | ||
|
||
Code examples and Guides content are licensed under the MIT license: | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||
of the Software, and to permit persons to whom the Software is furnished to do | ||
so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
--- | ||
|
||
API documentation is included from the main Ember.js repository, which is | ||
licensed under the MIT license. | ||
|
||
--- | ||
|
||
Other content is not included in this license. This includes: The Ember.js | ||
name and logo, as well as illustrations (other than diagrams in the guides). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: thin start -p $PORT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,79 @@ | ||
# Guides Site for Ember.js | ||
## Ember Website | ||
|
||
The website for the Ember.js project. | ||
|
||
### Contributing | ||
|
||
To get started: | ||
|
||
``` sh | ||
git clone git://github.com/emberjs/website.git | ||
cd website | ||
bundle | ||
bundle exec middleman | ||
``` | ||
|
||
Then visit [http://localhost:4567/](http://localhost:4567/) | ||
|
||
**Note**: unless you're working with the API docs, don't use `rake preview`—use `middleman` (aka `middleman server`) instead. | ||
|
||
To populate organizers data from meetup.com on http://localhost:4567/meetups | ||
|
||
* get a [meetup API Key](https://secure.meetup.com/meetup_api/key/) | ||
* set ENV["MEETUP_API_KEY"] | ||
* run the following rake command | ||
|
||
``` sh | ||
rake findorganizers [force=true] | ||
|
||
The force=true flag will overwrite all existing organizer data | ||
``` | ||
|
||
#### 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 to 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 website directory execute `bundle exec rake generate_docs` | ||
|
||
You can launch the website via `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](https://rvm.io/) to install it: | ||
|
||
``` sh | ||
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](http://rubyinstaller.org/), you'll need to [download the DevKit](http://rubyinstaller.org/downloads) and install it using instructions: | ||
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit | ||
|
||
After you have a proper install, you can then run: | ||
``` sh | ||
gem install bundler wdm tzinfo-data | ||
gem update listen middleman | ||
``` | ||
|
||
Once Middleman comes up, you'll be prompted by Windows Firewall. Click "Allow access" and you'll be in business! |
Oops, something went wrong.