Installing a Custom Site from Launchpad: Difference between revisions

From IHRIS Wiki
(Created page with 'In this tutorial, we will install a custom iHRIS Manage 4.0 site hosted on Launchpad. We will bazaar to download the code as well as discuss the basics on how to modify the code …')
 
No edit summary
Line 4: Line 4:


==Launchpad First Steps==
==Launchpad First Steps==
First you should create an account on [https://launchpad.net/ Launchpad] if you not have already done so.  Since we will want to contribute to the code, we will need to create a [https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair ssh public key] on your Ubuntu machine to add to Launchpad:
First you should create an account on [https://launchpad.net/ Launchpad] if you not have already done so.  We will refer to this account as '''LAUNCHPAD_USER.'''
Since we will want to contribute to the code, we will need to create a [https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair ssh public key] on your Ubuntu machine to add to Launchpad:
  sudo apt-get install openssh-client
  sudo apt-get install openssh-client
  ssh-keygen -t rsa
  ssh-keygen -t rsa
When prompted, press Enter to accept the default file name for your key. Next, enter then confirm a password to protect your SSH key.   
When prompted, press Enter to accept the default file name for your key. Next, enter then confirm a password to protect your SSH key.   


Your key pair is now stored in ~/.ssh/id_rsa.pub (public key) and ~/.ssh/id_rsa (private key). Now you need to upload the public portion of your SSH key to Launchpad.  
Your key pair is now stored in ~/.ssh/id_rsa.pub (public key) and ~/.ssh/id_rsa (private key). Now you need to upload the public portion of your SSH key to Launchpad. To do this, open in your web browser:
https://www.launchpad.net/~'''LAUNCHPAD_USER'''


==Bazaar First Steps==
==Bazaar First Steps==
Line 15: Line 17:
   sudo apt-get install bzr bzrtools
   sudo apt-get install bzr bzrtools
You may wish to read the [http://doc.bazaar-vcs.org/latest/en/mini-tutorial/index.html five minute tutorial] at this point.  You should also let bzr know how you are:
You may wish to read the [http://doc.bazaar-vcs.org/latest/en/mini-tutorial/index.html five minute tutorial] at this point.  You should also let bzr know how you are:
   bzr whoami "Your Name <your@email.add.ress>"
   bzr whoami "'''Your Name <your@email.add.ress>'''"





Revision as of 09:32, 2 December 2009

In this tutorial, we will install a custom iHRIS Manage 4.0 site hosted on Launchpad. We will bazaar to download the code as well as discuss the basics on how to modify the code on Launchpad. We are assuming that you are using an Ubuntu Linux machine.

Our first goal is to install the iHRIS Suite 4.0. Then we will download the CSSC's iHRIS Manage Customizations. Next we will create the database and finally we will install the site in our web-server.

Launchpad First Steps

First you should create an account on Launchpad if you not have already done so. We will refer to this account as LAUNCHPAD_USER. Since we will want to contribute to the code, we will need to create a ssh public key on your Ubuntu machine to add to Launchpad:

sudo apt-get install openssh-client
ssh-keygen -t rsa

When prompted, press Enter to accept the default file name for your key. Next, enter then confirm a password to protect your SSH key.

Your key pair is now stored in ~/.ssh/id_rsa.pub (public key) and ~/.ssh/id_rsa (private key). Now you need to upload the public portion of your SSH key to Launchpad. To do this, open in your web browser:

https://www.launchpad.net/~LAUNCHPAD_USER

Bazaar First Steps

First we need to make sure the Bazaaar (bzr) version control software is installed:

 sudo apt-get install bzr bzrtools

You may wish to read the five minute tutorial at this point. You should also let bzr know how you are:

 bzr whoami "Your Name <your@email.add.ress>"


Downloading iHRIS

Downloading CSSC's Customizations

Creating the Database

Installing on the Web Server

Modifying the Code