Skip to content

Commit

Permalink
update contribution guide
Browse files Browse the repository at this point in the history
  • Loading branch information
lokyoung committed Jun 9, 2017
1 parent e82b4a7 commit 0ac928d
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@


### 添加志愿者信息

1. 切换到分支master
2. 修改 `volunteers.html` 页面,按照格式(在所支援的城市,按照姓氏拼音升序添加),添加个人信息
3. 提交 PR

### Contirbution Guide
本项目使用`compass`作为`sass`的构建工具。请先安装好相关环境。
`compass``Ruby`的包管理工具gem安装,所以请先安装好Ruby环境,具体可以参考Ruby语言的[官方安装教程](https://www.ruby-lang.org/en/documentation/installation/)
```bash
$ gem install compass
```
修改样式时,请不要直接改动`css/style.css`文件,`compass`编译时会覆盖其中的内容。
`./scss/`文件夹中添加修改你的样式,输入`compass`指令便会把所有样式一并编译到`css/style.css`文件中。
```bash
# 监听scss文件夹的修改并编译
$ compass watch
# 编译scss
$ compass compile
```

0 comments on commit 0ac928d

Please sign in to comment.