Hosted development workstation: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
(Created page with '== Introduction == * The purpose of this workstation is to provide a complete and defined setup for developers, to ease the learning curve and to produce quick results. * We also…')
 
(22 intermediate revisions by the same user not shown)
Line 2: Line 2:
* The purpose of this workstation is to provide a complete and defined setup for developers, to ease the learning curve and to produce quick results.
* The purpose of this workstation is to provide a complete and defined setup for developers, to ease the learning curve and to produce quick results.
* We also use this workstation to give the testers a defined working environment.
* We also use this workstation to give the testers a defined working environment.
* This workstation is currently hosted with OM in England.
* This workstation is currently hosted as a LXC container on a root server with Manitu, located near Saarbrücken, Germany.
* Please understand that we cannot give access to everyone. We will only give access to people we know and trust. Please contact Timotheus if you want to get access.
* Please understand that we cannot give access to everyone. We will only give access to people we know and trust. Please contact Timotheus if you want to get access.
* If you want to setup a similar workstation yourself, please visit [[Setting up the hosted developer workstation]]
* If you want to setup a similar workstation yourself, please visit [[Setting up the hosted developer workstation with Fedora]]


== Remote Desktop with X2Go ==
== Remote Desktop with X2Go ==
We are using the [http://www.x2go.org/ X2Go] project for remoting the Ubuntu desktop to your machine (Linux, Windows, Mac are supported).
We are using the [http://www.x2go.org/ X2Go] project for remoting the Ubuntu desktop to your machine (Linux, Windows, Mac are supported).
* See http://www.x2go.org/doku.php/wiki:components:x2goclient#download for download and installation instructions  
* Recommended by Timotheus: See http://wiki.x2go.org/doku.php/doc:installation:x2goclient for download and installation instructions  
* For Windows, please download the latest X2Go client from http://code.x2go.org/releases/binary-win32/x2goclient/
* Alternatively, there is another client, a wxPython based system tray applet: http://wiki.x2go.org/doku.php/doc:installation:pyhoca-gui


Please use these settings:
Please use these settings:
* Host: workstation.openpetra.og
* Host: workstation01.solidcharity.com
* Login: this will be your username
* Login: this will be your username
* SSH Port: 2222
* SSH Port ('''attention, not default''' 22): 2040
* Session Type: you can leave that on KDE, but LXDE will be used anyway, to allow more users at the same time.
* Session Type: please choose XFCE instead of KDE (XFCE requires less resources and allows more users at the same time depending on RAM available)
* you can also change other settings, eg. the fullscreen display
* you can also change other settings, eg. the fullscreen display


[[File:X2GoConfig.png]]
[[File:X2GoConfig.png|thumb|center]]


The empty desktop will look like this:
The empty desktop will look like this:
[[File:LXDEemtpyDesktop.png]]
 
[[File:LXDEemtpyDesktop.png|thumb|center]]


Some useful programs are:
Some useful programs are:
* Konsole: to get a command line
* Konsole: to get a command line
* Konversation: an IRC client for taking part in the OpenPetra chat at freenode.
* HexChat: an IRC client for taking part in the OpenPetra chat at freenode.
* Geany: a text editor that is powerful and easy to use
* Geany: a text editor that is powerful and easy to use
* File Manager
* File Manager
Line 31: Line 32:
* MonoDevelop: IDE for C# development
* MonoDevelop: IDE for C# development
* Bazaar Explorer: GUI for working with Bazaar code repositories
* Bazaar Explorer: GUI for working with Bazaar code repositories
* pgAdmin3: work with your PostgreSQL database
In the default configuration on Windows, X2Go does not support Alt-Tab for the remote session, to switch between applications on the remote desktop.
See this post [http://www.terheyden.com/blog/?p=202 x2go client – getting Alt+Tab to work]! Basically, modify the settings of the XServer, to the options: <code>-rootless -notrayicon -clipboard -keyhook</code>. Be careful on German Windows systems, to set the path for vcxsrv.exe correctly, eg. <code>C:\Programme\x2goclient\VcXsrv\vcxsrv.exe</code>. The default path is wrong, and you cannot start the x2go client anymore, until you fix the setting in the registry (HKEY_CURRENT_USER\Software\Obviously Nice\x2goclient\settings)!


== Configuring your user account ==
== Configuring your user account ==
=== Launchpad ===
=== Github ===
You need to get an account on Launchpad, which is a service provided by the company Canonical, who develop Ubuntu and Bazaar: https://login.launchpad.net/+new_account
You need to get an account on Github, which is a service where we host the code of OpenPetra: https://github.com
 
Alternatively, you can also download a zip file from [https://github.com/openpetra/openpetra/ Github] or use the nightly developers zip file, from [https://sourceforge.net/projects/openpetraorg/files/openpetraorg/devzip-nightly/ Sourceforge]
 
=== Hexchat ===
 
It is important to write and talk to other developers!


Meet the OpenPetra developers in the IRC chat, room #openpetra at Freenode!


=== Konversation ===
Just start Hexchat from the Internet menu, select the default Freenode server, and join the channel #openpetra!


== Getting started ==
== Getting started ==

Revision as of 06:20, 14 June 2016

Introduction

  • The purpose of this workstation is to provide a complete and defined setup for developers, to ease the learning curve and to produce quick results.
  • We also use this workstation to give the testers a defined working environment.
  • This workstation is currently hosted as a LXC container on a root server with Manitu, located near Saarbrücken, Germany.
  • Please understand that we cannot give access to everyone. We will only give access to people we know and trust. Please contact Timotheus if you want to get access.
  • If you want to setup a similar workstation yourself, please visit Setting up the hosted developer workstation with Fedora

Remote Desktop with X2Go

We are using the X2Go project for remoting the Ubuntu desktop to your machine (Linux, Windows, Mac are supported).

Please use these settings:

  • Host: workstation01.solidcharity.com
  • Login: this will be your username
  • SSH Port (attention, not default 22): 2040
  • Session Type: please choose XFCE instead of KDE (XFCE requires less resources and allows more users at the same time depending on RAM available)
  • you can also change other settings, eg. the fullscreen display
X2GoConfig.png

The empty desktop will look like this:

LXDEemtpyDesktop.png

Some useful programs are:

  • Konsole: to get a command line
  • HexChat: an IRC client for taking part in the OpenPetra chat at freenode.
  • Geany: a text editor that is powerful and easy to use
  • File Manager
  • Chromium Webbrowser and Firefox Webbrowser
  • MonoDevelop: IDE for C# development
  • Bazaar Explorer: GUI for working with Bazaar code repositories
  • pgAdmin3: work with your PostgreSQL database

In the default configuration on Windows, X2Go does not support Alt-Tab for the remote session, to switch between applications on the remote desktop. See this post x2go client – getting Alt+Tab to work! Basically, modify the settings of the XServer, to the options: -rootless -notrayicon -clipboard -keyhook. Be careful on German Windows systems, to set the path for vcxsrv.exe correctly, eg. C:\Programme\x2goclient\VcXsrv\vcxsrv.exe. The default path is wrong, and you cannot start the x2go client anymore, until you fix the setting in the registry (HKEY_CURRENT_USER\Software\Obviously Nice\x2goclient\settings)!

Configuring your user account

Github

You need to get an account on Github, which is a service where we host the code of OpenPetra: https://github.com

Alternatively, you can also download a zip file from Github or use the nightly developers zip file, from Sourceforge

Hexchat

It is important to write and talk to other developers!

Meet the OpenPetra developers in the IRC chat, room #openpetra at Freenode!

Just start Hexchat from the Internet menu, select the default Freenode server, and join the channel #openpetra!

Getting started