Audaxy Developer Wiki
- 1 Developer Notes
- 1.1 Git
- 1.1.1 Mac
- 1.1.2 Linux
- 1.1.3 Windows XP-SP3/2000 (server)
- 1.2 SSH Key
- 1.2.1 Mac/Linux
- 1.2.2 Windows XP-SP3/2000 (server)
- 1.2.3 Getting the scrm2010 Source Codes
- 1.3 RVM
Developer Notes
A few helpful points for people involved in this project:
Git
Git is the distributed version control system that we used. It needs to be installed on your machine.
Mac
- simple
Linux
- use package installer to install git-core package
Windows XP-SP3/2000 (server)
- msysGit, the version that has been tried is Git-1.7.0.2-preview20100309.exe
SSH Key
This git repo uses ssh key to authenticate you when you want to push update to this repo. (As this project does not allow un-authenticated users to view/check-out the source codes, you cannot use the git:// url but definitely have to use the ssh:// url)
Mac/Linux
SSH is already bundled in Mac. For Ubuntu linux, if it is not bundled already, simply open Synaptic Manager or use apt-get to install it. Then, follow this Kenai help page to create your own ssh key.
Windows XP-SP3/2000 (server)
Windows rely on third party SSH clients. Among the popular ones is PuTTY. But msysGit project also bundle the ssh libraries for use.
Follow the links in Windows section in Kenai help page to create your own ssh key. Recommended is the Git Bash way. PuTTY way is slightly more complex.
Getting the scrm2010 Source Codes
REMEMBER to test your ssh key generated from the above steps.
Once the key works, to get the source codes:
$ cd /your/source/directory/ $ git clone ssh://your_user_id@git.kenai.com/scrm2010~scrm2010src scrm2010
Git will pull the source codes into /your/source/directory/scrm2010/ . You can get the git checkout url from the scrm2010 project page
RVM
Using RVM to manage your RoR versions for development & testing
Follow: official RVM installation guide or take a look at how my installation experience for Ubuntu and Snow Leopard:
Installing RVM in Ubuntu 9.10 Karmic
- Pre-requisites
- I probably had these packages installed already so I did not run into any problem installing and using RVM, so it may be a good idea to use apt-get install these first it not installed already:
build-essential curl git-core libreadline5 libreadline-dev libreadline5-dev libreadline6-dev zlib1g zlib1g-dev libssl-dev bison vim autoconf sqlite3 libsqlite3-0 libsqlite3-dev libxml2-dev subversion
- Installing RVM
- Follow the 1. GitHub Repository method, i.e. running just this line in my HOME directory in terminal:
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
(note the space between the '<' character) - After the installation, I edited my ~/.bashrc:
- Follow the 1. GitHub Repository method, i.e. running just this line in my HOME directory in terminal:
- Changed this line:
[ -z "$PS1" ] && return ... ... ...
- to:
# [ -z "$PS1" ] && return if [[ -n "$PS1" ]] ; then ... ... ...
- At the last line, added:
... ... ... [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm fi #EOF .bashrc
- Test if the Installation is OK
- I have to quit the terminal completely, and reopen the terminal again, to test these commands can run:
rvm | head -n1
- which returns this "rvm is a function", and run:
rvm notes
- which display a whole lot of info, including some of the above info
Installing RVM in Mac OS X 10.6.4 Snow Leopard
- Pre-requisites
- git must be installed first
- Installing RVM
- Follow the 1. GitHub Repository method, i.e. running just this line in my HOME directory in terminal:
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
(note the space between the '<' character) - After the installation, I created .profile in my HOME directory and put this line into the last line of my ~/.profile:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
- Follow the 1. GitHub Repository method, i.e. running just this line in my HOME directory in terminal:
- Test if the Installation is OK
- I have to quit the terminal completely, and reopen the terminal again, to test these commands can run:
rvm | head -n1
- which returns this "rvm is a function", and run:
rvm notes
- which display a whole lot of info, including some of the above info
- Installing dependencies that are required for RVM to install rubbies
Next
Quickly get started with my quick guide using RVM





