Quick Setup of Development environment: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
Line 18: Line 18:
You will need these software packages:
You will need these software packages:
* Microsoft .Net 4.0/4.5 Runtime, and Windows SDK (recommended) (see [[Setup_of_Development_Environment_for_Windows#Microsoft_.NET_3.5]])
* Microsoft .Net 4.0/4.5 Runtime, and Windows SDK (recommended) (see [[Setup_of_Development_Environment_for_Windows#Microsoft_.NET_3.5]])
* [http://www.icsharpcode.net/opensource/sd/download/#SharpDevelop4x SharpDevelop 4.x], or Visual Studio (Express) 2008, 2010 or higher
* [http://www.icsharpcode.net/opensource/sd/download/#SharpDevelop4x SharpDevelop 4.x], or Visual Studio (Express) 2010 or higher
* NAnt: download and install [http://sourceforge.net/projects/openpetraorg/files/openpetraorg/Tools/NAnt-Setup-0.92.exe/download NAnt-Setup-0.92.exe]
* NAnt: download and install [http://sourceforge.net/projects/openpetraorg/files/openpetraorg/Tools/NAnt-Setup-0.92.exe/download NAnt-Setup-0.92.exe]
=== for Linux ===
=== for Linux ===
You will need these software packages:
You will need these software packages:

Revision as of 09:14, 21 June 2013

Difference to Full Setup of Development environment

The full Setup of Development environment describes how to download the code from Launchpad, and how to setup an environment for someone that will get seriously involved in the development of OpenPetra.

This guide will show instead, how someone who wants to have a quick look at the project, or wants to fix that one little annoying bug, can get a basic environment with the latest code, and in a very short time.

Quick Setup:

  • uses a nightly development build
  • this build includes a compiled version of OpenPetra, and the project files
  • also comes with an sqlite database with demo data

Full Setup:

  • requires to download the source code,
  • and then generate the whole solution,
  • then generate a database, and so on

Install required software

for Windows

You will need these software packages:

for Linux

You will need these software packages:

download openpetra source and binary package

  • download the latest developers build from Sourceforge
  • unzip
  • If you are using SharpDevelop, open the file \openpetra\delivery\projects\sharpdevelop4\OpenPetra.Server.sln;
    • if you prefer Visual Studio, open the file \openpetra\delivery\projects\vs2010\OpenPetra.Server.sln
    • for MonoDevelop, the file is called \openpetra\delivery\projects\monodevelop2\OpenPetra.Server.sln
  • On Windows, you can start the Developers Assistant which is located in the root of the unzipped openpetra directory.
    • this helps you to start OpenPetra server and client, and to do a full build, etc
  • Alternatively, you can use nant from the command line