/maple-blog

a blog website based on flask

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

maple-blog

https://img.shields.io/badge/license-GPL3.0-blue.svg https://img.shields.io/badge/python-3.5-green.svg

This is my own blog website by flask

You can have a look here

This version I use postgresql to storage the contents of articles

Send email has some bugs,I’m restoring it

How to use

Install necessary package

pip install -r requestments.txt 

About flask-maple,you should use

git clone https://github.com/honmaple/flask-maple
cd flask-maple
python setup.py install

About fortune

git clone https://github.com/honmaple/fortune
ln -s path/fortune/fortune blog_path/fortune

About org.py

git clone https://github.com/honmaple/org-python
ln -s path/org-python/org.py blog_path/org.py

Configure

Please perfect configure at config/config.py

mv config.example/config.py ./config.py

Initialization sql

$ python manager.py db init
$ python manager.py db migrate
$ python manager.py db upgrade

Create superuser

python manager.py create_user

Run

python runserver.py or python manager.py runserver