8000 デプロイでハマったので記録を残しておく · vuejs-jp/012-jp.vuejs.org@1b097d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1b097d6

Browse files
committed
デプロイでハマったので記録を残しておく
1 parent 4a169c2 commit 1b097d6

File tree

6 files changed

+171
-142
lines changed

6 files changed

+171
-142
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
all: update
2-
rm db.json
2+
rm -rf db.json
33
hexo generate
44
cp -R ./todomvc public/examples
55
cp -R ../vue/test/unit/lib/ public/unit/lib

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,32 @@ $ npm install
1717
$ hexo server
1818
```
1919

20+
## デプロイ
21+
22+
### Node バージョン
23+
24+
v6.3.0
25+
26+
### デプロイ時のビルドに必要なもの
27+
28+
```
29+
$ npm i -g grunt-cli webpack@1.11.0 hexo@3.4.0
30+
```
31+
32+
### Vue レポジトリの用意
33+
```
34+
$ cd ../ # repo `012-jp.vuejs.org` があるディレクトリの親に移動
35+
$ git clone git@github.com:vuejs/vue.git # vue の repo を clone
36+
$ git checkout 0.12 # vue@v0.12 の branch へ checkout
37+
$ npm install # vue@v0.12 上での npm install
38+
```
39+
40+
### make deploy の実行
41+
42+
```
43+
$ make deploy
44+
```
45+
2046
## 翻訳プロジェクト発起人
2147
(アルファベット順)
2248

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "0.12.9",
44
"private": true,
55
"hexo": {
6-
"version": "3.1.1"
6+
"version": "3.9.0"
7+
},
8+
"engines": {
9+
"node": "6.3.0"
710
},
811
"dependencies": {
912
"hexo": "^3.1.1",

source/guide/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ title: インストール
22
type: guide
33
order: 1
44
vue_version: 0.12.16
5-
dev_size: "235.74"
6-
min_size: "71.44"
7-
gz_size: "23.22"
5+
dev_size: "235.87"
6+
min_size: "71.36"
7+
gz_size: "23.17"
88
---
99

1010
> **互換性に関する注意:** Vue.js は IE8 以下をサポートしていません。

0 commit comments

Comments
 (0)
0