Skip to content

Commit 5930438

Browse files
committed
Squashed 'public/' content from commit 79dc6b5
git-subtree-dir: public git-subtree-split: 79dc6b5
0 parents  commit 5930438

14 files changed

+2367
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
all: package
2+
3+
dev:
4+
hugo server
5+
6+
package:
7+
hugo server --baseURL=http://micanzhang.github.io --appendPort=false

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# micanzhang.github.com
2+
3+
> static blog site generate with hugo.

config.yaml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
baseurl: "http://micanzhang.github.io/"
2+
# include content marked as draft
3+
buildDrafts: false
4+
# include content with publishdate in the future
5+
buildFuture: false
6+
# enable this to make all relative URLs relative to content root. Note that this does not affect absolute URLs.
7+
relativeURLs: false
8+
canonifyURLs: true
9+
# config file (default is path/config.yaml|json|toml)
10+
config: "config.toml"
11+
contentdir: "content"
12+
dataDir: "data"
13+
defaultExtension: "html"
14+
defaultLayout: "post"
15+
# filesystem path to write files to
16+
destination: ""
17+
disableLiveReload: false
18+
# Do not build RSS files
19+
disableRSS: false
20+
# Do not build Sitemap file
21+
disableSitemap: false
22+
# edit new content with this editor, if provided
23+
editor: ""
24+
footnoteAnchorPrefix: ""
25+
footnoteReturnLinkContents: ""
26+
languageCode: ""
27+
layoutdir: "layouts"
28+
# Enable Logging
29+
log: false
30+
# Log File path (if set, logging enabled automatically)
31+
logFile: ""
32+
# "yaml", "toml", "json"
33+
metaDataFormat: "toml"
34+
newContentEditor: ""
35+
# Don't sync modification time of files
36+
noTimes: false
37+
paginate: 10
38+
paginatePath: "page"
39+
permalinks:
40+
# Pluralize titles in lists using inflect
41+
pluralizeListTitles: true
42+
publishdir: "public"
43+
# color-codes for highlighting derived from this style
44+
pygmentsStyle: "monokai"
45+
# true: use pygments-css or false: color-codes directly
46+
pygmentsUseClasses: true
47+
# default sitemap configuration map
48+
sitemap:
49+
# filesystem path to read files relative from
50+
source: ""
51+
staticdir: "static"
52+
# display memory and timing of different steps of the program
53+
stepAnalysis: false
54+
# theme to use (located in /themes/THEMENAME/)
55+
theme: "elegant"
56+
title: "micanzhang"
57+
# if true, use /filename.html instead of /filename/
58+
uglyURLs: false
59+
# verbose output
60+
verbose: false
61+
# verbose logging
62+
verboseLog: false
63+
# watch filesystem for changes and recreate as needed
64+
watch: false
65+
# site params
66+
params:
67+
disqus: "micanzhang"
68+
twitter: "micanzhang"
69+
---
70+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
+++
2+
title = "composer tutorial"
3+
tags = ["composer", "laravel", "tutorial"]
4+
date = "2014-11-17T15:17:22+08:00"
5+
6+
+++
7+
8+
[composer](http://getcomposer.org)是php的包管理工具,可以方便的管理项目中的各种依赖关系,自动生成加载类.
9+
10+
<!--more-->
11+
12+
## Dependences
13+
>+ composer
14+
+ php >= 5.4
15+
+ php Mcrypt extension
16+
+ git
17+
18+
## Get Start
19+
20+
本教程基于[laravel](http://laravel.com)框架,更多关于laravel框架的说明,请访问前面的链接.
21+
22+
$composer create-project laravel/laravel tutorial //创建工程项目
23+
24+
$composer install  //安装工程依赖
25+
26+
保证**tutorial/app/storage**有写权限
27+
28+
绑定host后你可以看到一个很漂亮的laravel的介绍页面.

0 commit comments

Comments
 (0)