ScratchPad

Checkout from the source

First, make sure you have bazaar. On Ubuntu or Debian:

  1. sudo apt-get update

  2. sudo apt-get install bzr

Then:

  1. Start in your home directory: cd ~

  2. Create a Projects directory: mkdir Projects

  3. Change to the Projects directory: cd Projects/

  4. Check out the gasp source code from the bzr repository on launchpad:
    •      bzr branch http://bazaar.launchpad.net/~gasp-dev/gasp/gasp-dev
  5. Return to your home directory: cd ~

  6. Make a lib/python directory in your home directory for your own python libraries:

       mkdir lib
       mkdir lib/python
  7. Add PYTHONPATH to ~/.bashrc:
    • vi ~/.bashrc
    • add the following lines to the bottom of the file:

      PYTHONPATH=$HOME/lib/python
      export PYTHONPATH
  8. Now make a symlink from lib/python to the gasp source code:
    • cd lib/python

    • ln -s ~/Projects/gasp-dev/gasp gasp

Update GASP

To update GASP:

cd ~/Projects/gasp-dev
bzr pull

LukeFaraone/ScratchPad (last edited 2008-09-12 20:43:47 by pool-72-83-104-70)