Warning: this project is deprecated and has been written a long time ago in learning purposes. Don't consider everything from it as a good practice.
Another lightweight flask-based blog engine.
You need to be installed bower
.
Clone this repo:
git clone https://github.com/true-datura/buggy
Cd in cloned directory:
cd buggy
Create virtualenv, activate it, and install requirements:
virtualenv -p python3 .env
. .env/bin/activate
pip install -r requirements/dev.txt
Install js packages:
bower install
Set up flask environment variables:
export FLASK_APP=autoapp.py
export FLASK_DEBUG=1
Create database:
flask db init
flask db migrate
flask db upgrade
Run dev server:
flask run
You can create superuser by command:
flask createadmin
To enable Disqus comments edit this lines in buggy/settings.py
:
DISQUS_SHORTNAME = '<your_shortname'
ENABLE_DISQUS = True