Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.32 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.32 KB

flaskblog

Learn python and flask,just a tony blog system
It is same as SpringBlog,but implemented differently

#Use:

##Backend:

  1. Flask
  2. Flask-SQLAlchemy ORM for mysql
  3. Flask-WTF
  4. Flask-Login

##Web:

  1. Jquery-1.11.1
  2. Bootstrap-3.2.0
  3. Very simple editor qeditor

#Finish:

  1. Login and remember me, user Flask-login
  2. Admin Home
  3. Publish and save post
  4. Show blog list in index
  5. Show blog content

#Todo:

  1. Finish the basic blog function
  2. Review python code and think more
  3. 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!