A tiny blogging platform that lets you write posts in Google Docs and syncs with a Google Drive directory.
Python JavaScript HTML CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

hexopress

A tiny blogging platform that lets you write posts in Google Docs and syncs with a Google Drive directory.

This project is directly based upon the amazing Octopress project. However, I wanted a way to keep writing my posts in Google Docs, which is a good place to write & retain blog posts, and publish a Octopress blog out them. This project is a way forward, towards scratching that itch.

What is HexoPress?

HexoPress is a web layer that authenticates the user with google, takes their blog posts from a folder in their google drive, generate a static blog out of it and serves them at a URL.

Dev Setup

Install dependencies:

Project Setup:

Clone the repo $ git clone https://github.com/joelewis/hexopress

Create a python virtual env and install python dependencies into it.
$ virtualenv --distribute venv
$ . venv/bin/activate
$ pip install -r requirements.txt

Setup an Octopress instance - http://octopress.org/docs/setup/.

Rename hexopress/sample_settings.py to hexopress/settings.py

Edit settings.py to suit yours.

Run Server

Run Interface Server:
daphne hexopress.asgi:channel_layer -b 0.0.0.0 -p 8000

Run workers for websockets/http handling:
python manage.py runworker -v 2

Run celery worker:
celery -A hexopress worker

Now, pointing your browser to http://localhost:8000 should land it to your dev instance.