Skip to content
Home of the code for OpenPetra
Branch: master
Clone or download
tpokorra Merge pull request #359 from tpokorra/TP-201906-fixsitekey
Catch Exception when retrieving SiteKey for a fresh database
Latest commit 59bfab6 Jun 29, 2019



The goal of OpenPetra is to provide an easy to use software system for the administration of non-profit organisations.

To find out more about OpenPetra, please visit the webpage

The code for the Javascript client is in a separate repository, at


These are the steps required to setup a development environment on CentOS7:

# install required packages
yum install epel-release git
yum install mono-devel nant nunit xsp libsodium

# clone the code repositories
git clone --depth 10
git clone

cd openpetra

# setup the basic configuration

    <?xml version="1.0"?>
    <project name="OpenPetra-userconfig">
        <property name="DBMS.Type" value="sqlite"/>
        <property name="Server.DebugLevel" value="0"/>

# this will take a couple of minutes while code is generated and the solution gets compiled
nant generateSolution

# create a fresh sqlite database
nant recreateDatabase resetDatabase

# run the server with xsp4
nant start
# stop the server
nant stop

You can test your OpenPetra installation at http://localhost:9000 and http://localhost:9000/api


All code written by the OpenPetra development team is licensed under the GPL v3 or later. For third-party code, please see the license references in the respective directories (see csharp/ThirdParty).

You can’t perform that action at this time.