website by tornado, show how to use tornado_mysql & ssdb. make rpm package on centos7, but I think this project can run on anything linux.
- 网站UI
- 创建文章
- 文章列表
- 文章分类
- 文章分类列表
http://website.cyber-life.cn/swagger/spec.html
yum -y install nginx
systemctl start nginx
systemctl enable nginx
yum -y install mariadb mariadb-server
systemctl start mariadb
systemctl enable mariadb
rpm -Uvh ssdb-1.95-7.el7.x86_64.rpm
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install --upgrade pip
pip install tornado==4.3
yum install git
git clone https://github.com/SerenaFeng/tornado-swagger.git
cd tornado-swagger
python setup.py install
pip install tornado_mysql
rpm -Uvh cyber-website-1.0.0-3_git_ed98137.x86_64.rpm --force