Skip to content

keakon/Doodle

Repository files navigation

Doodle 2

A blog system based on Python 2.7 and Redis. It's a *nix port from Google App Engine of Doodle 1.x.

Installation

Doodle 2 requires Python 2.7 and Redis. It has been tested on Ubuntu 18.04.

  1. Clone or download the source code:
$ git clone https://github.com/keakon/Doodle.git
  1. Install dependencies:
$ sudo pip install virtualenv
$ virtualenv .
$ bin/pip install -r requirements.txt

Usage

$ redis-server &
$ bin/python -m doodle.main

Then you can open http://0.0.0.0:8080 to check it.

Run with docker

  1. Install Docker
  2. Clone or download the source code:
$ git clone https://github.com/keakon/Doodle.git
  1. Copy config files:
$ mkdir doodle
$ cp Doodle/docker-compose.yml doodle/docker-compose.yml
$ cp -r Doodle/conf doodle/conf
  1. Replace "localhost" into your own domain in conf/Caddyfile.
  2. Start docker compose:
$ cd doodle
$ docker compose up -d

License

Doodle is released under the MIT License. See the LICENSE file for more details.