Based on David-Guo's flask-forum,please see https://github.com/David-Guo/flaskforum.git
This is a full function forum/bbs system include insert picture or attachment of any type file.
It can be very simple and easy to be installed
sudo -s
apt-get install mysql-server mysql-client libmysqlclient-dev
# /etc/init.d/mysql stop
# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD(’123456’) where USER=’root’;
mysql> FLUSH PRIVILEGES;
mysql> quit
# /etc/init.d/mysql restart
# mysql -uroot -p
Enter password: <input your newpassword:123456>
mysql>
mysql>exit
# /etc/init.d/mysql restart
git clone https://github.com/battlecat/flaskforum.git
cd flask-forum
mysql -u root -p < create_db.sql
but be carefully don't repeat the step 4
$ python manager.py shell
>>> db.create_all()
Please repeat the step 2 and to change the mysql root password to 123456 if spawned any erro about access dennied problem.
#python manager.py runserver
8.Please find the page of http://127.0.0.1:5000
good luck!