goshlanguage / coral

a lightweight blog platform that uses Python, Flask, and Mongo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coral

Coral is a simple blog app written in Python. Some of it's roadmap features include

  • Syntax Highlighting and Link detection
  • Authentication
  • Single Pageness

Version

.01

Dependencies

Install Python Libraries Flask, flask-bootstrap, and pymongo

easy_install flask flask-bootstrap flask-moment pymongo wtforms

MongoDB

Mac OS X

brew update
brew install mongodb

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/

If you do not have Brew installed, first run:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Then start mongodb with brew's service feature:

brew services start mongodb

You can also use this command with stop and restart inplace of start to stop and restart mongo if needed.

You should now be able to drop into the Mongo Shell with:

mongo

Centos [Instructions coming soon]

yum install mongodb

I would like to add support for other databases, so making this extensible should be roadmapped.

Tech

Coral uses a number of open source projects to work properly:

  • Flask - A Web Frameworks for Python
  • pymongo - Mongo Bindings for Python
  • Twitter Bootstrap - great UI boilerplate for modern web apps
  • jQuery - a javascript library
  • CKEditor - a RTF themer for textarea that runs in javascript

Installation

git clone https://github.com/ryanhartje/coral.git

Usage

python app/app.py

Resources

Caching in Flask:

http://stackoverflow.com/questions/13768007/browser-caching-issues-in-flask

Cache explained: http://www.mobify.com/blog/beginners-guide-to-http-cache-headers/

License

MIT

About

a lightweight blog platform that uses Python, Flask, and Mongo


Languages

Language:Python 99.4%Language:JavaScript 0.2%Language:CSS 0.2%Language:C 0.1%Language:Shell 0.1%