Skip to content

Instantly share code, notes, and snippets.

View marcinkuzminski's full-sized avatar

Marcin Kuźmiński marcinkuzminski

View GitHub Profile

Setting up RhodeCode on Ubuntu Server 12.04

Preparation

  1. Install Ubuntu Server.
  2. Update Ubuntu with the commands:
import sqlalchemy
from sqlalchemy import *
from sqlalchemy.ext.mutable import Mutable
class JSONEncodedObj(types.TypeDecorator):
"""Represents an immutable structure as a json-encoded string."""
impl = String
def process_bind_param(self, value, dialect):