Skip to content

teng2015/ng2-xiaohei-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

ng2-xiaohei-blog [中文介绍]

这个项目是为我的博客创建的,我的博客大概两年前使用angular.js-1.3.x建立的,博客地址 http://www.lizhiqianduan.com/myblog

现在,我打算使用ng2来重写博客,并要求保持原博客的风格。

如果你clone了本项目,你只需要进入src目录,在控制台执行npm install && npm start 就可以查看本项目当前的效果。

如果你对ng2或者是这个博客项目感兴趣欢迎加入我一起开发。

如何加入开发

  1. 你可以点击右上角的fork按钮,将本项目fork到自己账号的项目管理里面;

  2. 然后,使用git命令行git clone https://github/你的账号名/ng2-xiaohei-blog,将项目克隆到自己的本地计算机;

  3. 修改本地计算机的代码;

  4. 使用命令git push将这些修改推送到自己的github版本库列表中;

  5. 最后,打开浏览器,回到www.github.com/你的账号名/ng2-xiaohei-blog,点击页面的new pull request按钮。

这样,就会给我发起一个代码合并请求来合并你修改的代码。

如果你的代码被合并了,那么恭喜你,你已经成为这个项目的贡献者了,你的名字将会出现在项目的contributors栏目里。

我非常期待你的加入!

如何开始

如果你已经克隆项目到你自己的计算机了,那么进入src目录,执行npm install命令。这可能需要一些时间。

然后执行npm start。这步会编译代码,并在浏览器显示项目的首页index.html

如果你修改、删除、新增了项目的文件,浏览器里的首页都会实时刷新。

是不是很简单啊?

ng2-xiaohei-blog[English Introduction]

project for site http://www.lizhiqianduan.com/myblog

This project is created for xiaohei's blog , which is built with angular.js-1.3.x about tow years ago .

Now, I want to rewrite this blog in ng2 , and keeping the style of this blog.

If you are intersted in ng2 or have any idea about this blog , welcome to join me .

We can develop this project together , and leran ng2 from each other .

How to join

  1. You can click the fork button on the page of top . This action will add this project to your repositories list .

  2. Open a shell on Mac or CMD on Windows , excute command git clone https://your-github-account/ng2-xiaohei-blog .

  3. Change or add code of this project that you want to .

  4. Use command git to push your change .

  5. Finally , open browser and login site github.com, navigate to your repository ng2-xiaohei-blog , click the new pull request .

These steps will send me a request to merge your code which is changed .

If your code is merged to this project , congraduation , you are become a contributor for this project , and your name will be list in the table of contributors.

I'm looking forward for your joinning!

How to start develop

If you have clone this project to your local computer,then excute npm install . This may take you a few minutes .

And if everything is ok , excute npm start . This will build the code and navigate to index.html in your browser .

And, then if change or add ,or delete some code of this project , the index.html in yours browser will refresh auto self .

It's so easy,isn't it?