Learn python and flask,just a tony blog system
It is same as SpringBlog,but implemented differently
Version:v0.2
##Use:
###Backend:
- Flask
- Flask-SQLAlchemy ORM for mysql
- Flask-WTF
- Flask-Login
- Flask-Admin
- Flask-Script
###Web:
- Bootstrap-3.2.0
- CKEditor
##Finish:
- Review python code and change project directory structure
- The basic function of blog:
Post:read,write,edit,delete
Category:read,add,edit,delete
##Todo
- Develop restful api
- Develop simple android app
##Deploy
Create Schema on MySql,edit database setting in config.py
Run script to init database table:
python manage.py create_db
Create blog admin:
python manage.py create_user -u admin -p 123456
Use gunicorn and supervisor to deploy this project on Ubuntu
Install gunicorn and supervisor:
$ sudo pip install gunicorn
$ sudo pip install supervisor
Copy supervisor config file:
$ sudo cp flaskblog.conf /etc/supervisor/conf.d/
Restart supervisor and start flaskblog:
$ sudo supervisorctl reload
$ sudo supervisorctl start flaskblog
Look status:
$ sudo supervisorctl status
v0.2
v0.1
##Connect me
Life is short,you need python! If you are interested in this project, Join us!
This project is licensed under the MIT license, see LICENSE
for more details.