Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6fff5a

Browse files
committed
Merge pull requestgithub#918 from github/update-1449336744
2 parents65abc79 +c1f917a commite6fff5a

File tree

2 files changed

+29
-18
lines changed

2 files changed

+29
-18
lines changed

‎.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.3

‎README.md

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,37 +95,47 @@ For more information, see [the reference documentation](https://github.com/gjtor
9595

9696
##Development
9797

98+
You can fetch the latest dependencies by opening the command line and running`script/bootstrap`:
99+
100+
```sh
101+
$ script/bootstrap
102+
==> Installing gem dependencies…
103+
==> Installing npm dependencies…
104+
```
105+
106+
You'll need Ruby 2.2.3 and at least Node v4.x.
107+
108+
You can run`bundle exec rake build` to generate the site, but it's often more useful
109+
to simply build the server*and* start the site at the same time.
110+
98111
Nanoc compiles the site into static files living in`./output`. It's
99-
smart enough not to try to compile unchanged files:
112+
smart enough not to try to compile unchanged files.
100113

101-
```sh
102-
$ bundleexec nanoc compile
114+
You can start the site with`script/server`:
115+
116+
```sh
117+
$ script/server
103118
Loading site data...
104119
Compiling site...
105120
identical [0.00s] output/css/960.css
106121
identical [0.00s] output/css/pygments.css
107122
identical [0.00s] output/css/reset.css
108123
identical [0.00s] output/css/styles.css
109124
identical [0.00s] output/css/uv_active4d.css
110-
update [0.28s] output/index.html
111-
update [1.31s] output/v3/gists/comments/index.html
112-
update [1.92s] output/v3/gists/index.html
113-
update [0.25s] output/v3/issues/comments/index.html
114-
update [0.99s] output/v3/issues/labels/index.html
115-
update [0.49s] output/v3/issues/milestones/index.html
116-
update [0.50s] output/v3/issues/index.html
117-
update [0.05s] output/v3/index.html
125+
update [0.28s] output/index.html
126+
update [1.31s] output/v3/gists/comments/index.html
127+
update [1.92s] output/v3/gists/index.html
128+
update [0.25s] output/v3/issues/comments/index.html
129+
update [0.99s] output/v3/issues/labels/index.html
130+
update [0.49s] output/v3/issues/milestones/index.html
131+
update [0.50s] output/v3/issues/index.html
132+
update [0.05s] output/v3/index.html
133+
118134

119135
Site compiledin 5.81s.
120136
```
121137

122-
You can set up whatever you want to view the files. If using the adsf
123-
gem (as listed in the Gemfile), you can start Webrick:
124-
125-
```sh
126-
$ bundleexec nanoc view
127-
$ open http://localhost:3000
128-
```
138+
The site is hosted at`http://localhost:4000`.
129139

130140
##Deploy
131141

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp