All Projects → dennyzhang → xiaozibao

dennyzhang / xiaozibao

Licence: other
Your personal magzine, adjusted by your taste.

Programming Languages

objective c
16641 projects - #2 most used programming language
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
SQL
17 projects
go
31211 projects - #10 most used programming language
erlang
1774 projects

xiaozibao - 小字报

  • Monitor the whole internet, to build your personal magzine adjusted by your taste.
  • Subscribe to topic, instead of RSS; Read less for more.

Join us for free. Why?

  • We see the project target to minimize the gap of information age: read less for more
  • We see the project is at the early stage.
  • We see lots of powerful languages here: Python, Erlang, Golang, Objectc, Anjularjs, Bash,etc.
  • We see lots of popluar weapons here: Puppet, Jenkins, Tsung, Zabbix, etc

How to involve?

Drop me an email: [email protected], to join the mail group.

Installation

  • verified on Darwin12.4, ubuntu10.4, centos5.6
Name Comment
Checkout github https://github.com/DennyZhang/xiaozibao
Install mysql-server
Install mysql-client libmysqlclient-dev
Install erlang sudo apt-get install erlang / yum install erlang / brew install erlang
Install rabbitmq-server
Install google go http://blog.ec-ae.com/?p=7867#sec-1-1
Install puppet http://blog.ec-ae.com/?p=2824#sec-1
Enforce puppet https://github.com/DennyZhang/xiaozibao/blob/master/puppet/README.md
Reboot server Take effect for the change of /etc/profile by puppet
Start webserver cd $XZB_HOME/code/show_article/webserver && python ./server.py
Helloworld test curl http://127.0.0.1:9080/api_get_post?id=3aaae1a35a73722372e1b49343c2c3dc

Documents: find . ( -iname *.md ) -ls

Management

  • Web Test
Name Link
get_post http://127.0.0.1:9080/api_get_post?id=3aaae1a35a73722372e1b49343c2c3dc
list_user_post http://127.0.0.1:9080/api_list_user_post?userid=denny&date=2013-01-24
list_user_post http://127.0.0.1:9080/api_list_user_post?userid=denny
  • Internal tools
Name Comment
Add a user Add sub domain, then call xzb_create_user.sh -h
Update posts for categories xzb_update_category.sh -h
Update posts for users xzb_update_all_user.sh -h
Format and beautify posts xzb_format_posts.sh -h
Update the deploy strategy of posts /usr/bin/mysql -uuser_2013 -pilovechina xzb < $XZB_HOME/code/tool/update_db.sql
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].