Setting up Fedora workstation for OpenPetra Development   August 28th, 2014

Do these steps once:

Get the latest Mono with development packages for Fedora:

cd /etc/yum.repos.d/
wget http://download.lbs.solidcharity.com/repos/tpokorra/mono/fedora/20/lbs-tpokorra-mono.repo
yum install mono-opt mono-nant-opt
yum install git-core
 
echo ". /opt/mono/env.sh" >> ~/.bashrc
. ~/.bashrc
git config --global user.name "Firstname Lastname"
git config --global user.email "firstname.lastname@example.org"
 
git clone https://github.com/SolidCharity/OpenPetraNow.git -b Release2014_07

create the file OpenPetraNow/OpenPetra.build.config:

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

This is how you can compile OpenPetra, prepare the database, and start OpenPetra locally:

cd OpenPetraNow
nant generateSolution recreateDatabase resetDatabase
rm delivery/bin/Mono*dll
rm delivery/bin/sqlite*dll
nant startServer &
nant startClient

Unfortunately, the client GUI does not behave very well in my remote X2Go session.

Tags:
This entry was posted on Thursday, August 28th, 2014 at 9:19 pm and is filed under Software Development. You can follow any responses to this entry through the RSS 2.0 feed.Both comments and pings are currently closed.

No Responses