My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
DeployingRietveld  
How to deploy Rietveld on App Engine.
Phase-Deploy
Updated Aug 1, 2011 by albrecht.andi

Deploying Rietveld

This page describes how to set up a custom instance of the codereview server. It's assumed that you've a already signed up for an App Engine account and that you have registered an application.

Refer to Using Code Reviews with Google Apps if you are an Google Apps customer.

To set up your own instance of the codereview server you'll need to following tools:

Getting the Sources

First you'll have to check out the current source from the project's Mercurial repository:

hg clone http://code.google.com/p/rietveld

Configure Your Application

Now change into the rietveld directory and open app.yaml to configure your application ID. To do that replace codereview in the first line with your ID, for example:

application: your-application-id

Deploy Rietveld

To deploy Rietveld on App Engine you'll have to use make:

make update

In case make is not installed on your system, read the contents of Makefile for what to do (the Makefile is mostly just used as a shorthand, there's nothing to build).

Your own instance of the codereview server should now be ready for serving on http://your-application-id.appspot.com.

Develop Rietveld

Use the standard App Engine development style.

Running Without App Engine

It is possible to run it on pure Django using a helper module. See http://django-gae2django.googlecode.com/svn/trunk/examples/rietveld/README

Migrations

The following revisions require additional migration steps. Please ask on the [http://groups.google.com/group/codereview-discuss mailing list] if you need assistance.

Note that upgrading from revisions prior to r427 is not covered in this section and that running data migrations usually changes the modified date for certain entities.

  • r427: Issue.private field introduced with False as default. All issues need to be updated with issue.private = False, otherwise the issues a treated as private issues.
Comment by jacob.c...@gmail.com, Jun 9, 2011

Sign in to add a comment
Powered by Google Project Hosting