Skip to content

Commit bbb9eb3

Browse files
author
Kuniwak
committed
Hello, reveal.js
1 parent 6df7c4d commit bbb9eb3

File tree

3 files changed

+67
-40
lines changed

3 files changed

+67
-40
lines changed

README.markdown

Lines changed: 0 additions & 38 deletions
This file was deleted.

README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
JavaScript Training
2+
===================
3+
4+
JavaScript 初心者が JS の未来を見据えつつ、
5+
基礎をひととおり身に付けるための資料です。
6+
7+
8+
9+
環境のセットアップ
10+
------------------
11+
12+
13+
### 1. JavaScriptTraining を fork
14+
15+
JavaScriptTraining の学習履歴を残すために、
16+
JavaScriptTraining リポジトリを fork します。
17+
18+
画面右上にある fork ボタンを押してください。
19+
20+
21+
### 2. 必要なものをダウンロード
22+
23+
ここからはターミナル上での操作になります。
24+
リポジトリの URL をコピーし、下のコマンドを
25+
ターミナルで実行してください。
26+
27+
git clone コピーしたURL
28+
29+
30+
### 3. セットアップ
31+
32+
下のコマンドをターミナルで実行してください。
33+
34+
cd JavaScriptTraining
35+
npm run setup
36+
37+
38+
### 4. webサーバーを立ち上げる
39+
40+
下のコマンドをターミナルで実行してください。
41+
42+
なお、トレーニング中はこのコマンドを
43+
終了しないでください。
44+
45+
npm run serve
46+
47+
48+
### 5. トップページにアクセスする
49+
50+
ブラウザから [http://localhost:8000](http://localhost:8000)
51+
アクセスしてください。
52+
53+
54+
### 6. トレーニングを始める
55+
56+
public/stage1/tests.js を編集し、
57+
[http://localhost:8000/stage1](http://localhost:8000/stage1) で実行される
58+
すべてのテストにパスするよう
59+
コードを編集してください。
60+
61+
コードを編集後はページのリロードが必要です。
62+
63+
ステージはすべてで 6 つあります。

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"setup": "npm install; (cd public; bower install)",
88
"help": "$(npm bin)/gulp help",
9-
"serve": "$(npm bin)/gulp serve"
9+
"serve": "$(npm bin)/gulp serve",
10+
"presentation": "$(npm bin)/reveal-md README.md --separator '^\\n\\n\\n' --verticalSeparator '^\\n\\n'"
1011
},
1112
"repository": {
1213
"type": "git",
@@ -37,6 +38,7 @@
3738
"stream-combiner2": "^1.0.2"
3839
},
3940
"dependencies": {
40-
"bower": "^1.3.12"
41+
"bower": "^1.3.12",
42+
"reveal-md": "0.0.16"
4143
}
4244
}

0 commit comments

Comments
 (0)