Learn python and flask,just a tony blog system
It is same as SpringBlog,but implemented differently
#Use:
##Backend:
- Flask
- Flask-SQLAlchemy ORM for mysql
- Flask-WTF
- Flask-Login
##Web:
- Jquery-1.11.1
- Bootstrap-3.2.0
- Very simple editor qeditor
#Finish:
- Login and remember me, user Flask-login
- Admin Home
- Publish and save post
- Show blog list in index
- Show blog content
#Todo:
- Finish the basic blog function
- Review python code and think more
- Write front with AngularJS instead of jQuery
#Deploy
User gunicorn and supervisor to deploy this project on Ubuntu
Install gunicorn:
$ 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
#Connect me Life is short,you need python! if you are interested in this project, Join us!