Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.33 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.33 KB

Introduce

This project is a blog system for the LAMP architecture. it run in linux, use mysql to store data, use PHP to do background process.
It provide some blog function, such as: user login、user register、aritcle view、aritcle edit、info show、aritcle category、article archive、aritcle comment、blog config、read statistics,etc.
It isn't deplend on any other side JS framework and CSS library, and it follow the MVC model.

Directory

control - core logic module
images - directory to save the host image
lang - contury language definition in GUI
mini-editor - a web editor
model - database process module

Run

You can access the root directory of this blog in web browser, it will show the main page of this blog.

Usage

First you should create a directory tinyblog into the Web root directory, such as 'tinyblog'.
The second, download the source code into the 'tinyblog' directory.
Third login into the cmd of mysql, create a database 'tinyblog', key in: 'create database tinyblog'; then import into the database file, key in: 'source /home/weigy/work/tinyblog/tinyblog_db.sql;'
The last you can access the blog system through web browser

Design

Please refer to my blog(Chinese):
http://blog.csdn.net/weiganyi/article/details/17533343