Setup of Development environment: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
== Setup by Operating System == | == Setup by Operating System == | ||
Please add your own instructions here! | |||
* [[Setup of Development Environment for Windows]] | * [[Setup of Development Environment for Windows]] | ||
* [[Setup of Development Environment for Debian]] | * [[Setup of Development Environment for Debian]] | ||
Line 5: | Line 7: | ||
* [[Setup of Development Environment for OpenSuSE]] | * [[Setup of Development Environment for OpenSuSE]] | ||
* [[Setup of Development Environment for CentOS]] | * [[Setup of Development Environment for CentOS]] | ||
* [[Setup of Development Environment for | * [[Setup of Development Environment for Mandriva]] | ||
* [[Setup of Development Environment for MacOS]] | |||
== NAnt script == | == NAnt script == |
Revision as of 14:22, 15 March 2010
Setup by Operating System
Please add your own instructions here!
- Setup of Development Environment for Windows
- Setup of Development Environment for Debian
- Setup of Development Environment for Ubuntu
- Setup of Development Environment for OpenSuSE
- Setup of Development Environment for CentOS
- Setup of Development Environment for Mandriva
- Setup of Development Environment for MacOS
NAnt script
There is a central NAnt script that is able to generate a lot of code and is able to do all automated tasks in the OpenPetra project.
get help
To see the available commands, just run on the command line:
cd openpetraorg nant help
initial steps
First you need to compile the PetraTools which is a set of programs for creating databases and more:
nant compileCommon nant compilePetraTools
Now you need to create a database. If you don't change the config file, the SQLite database system will be used.
nant recreateDatabase
Then you want to load the database with base data:
nant resetDatabase
You should compile OpenPetra.org this way:
nant compilePetra
Start the OpenPetra.org Server:
nant startPetraServer
Start the OpenPetra.org client:
nant startPetraClient
With the base database, there is the user demo with password demo that you can use to login to your installation of OpenPetra.org.
See Preview: Current functionality for information what is actually working already.
Stop the OpenPetra.org Server:
nant stopPetraServer
Generate the translation files:
nant translation