- cd ~
- git init
- git remote add unfuddle git@guidingcancer.unfuddle.com:guidingcancer/gc.git
- git config remote.unfuddle.push refs/heads/master:refs/heads/master
- ssh-keygen -C "dagan@navigatingcancer.com" -t rsa
- cat .ssh/id_rsa.pub
- copy the public key into unfuddle profile settings
- git clone git@guidingcancer.unfuddle.com:guidingcancer/gc.git DO NOT SUDO
- cd gc
- install rvm (ruby version manager). follow the instructions about updating .bash_profile with the rvm load script
- quit the terminal
- open terminal again and cd into gc. do whatever rvm tells you
- cd config/
- cp database.yml.example database.yml
- open database.yml, change the adapters from mysql to mysql2 for both dev and test
- cd ~/gc
- http://cjohansen.no/en/ruby/ruby_version_manager_ubuntu_and_openssl
- bundle install
- create the database
(using SQL Pro's gui for OS X) - script/server - everything should work!
- For fixing sound: sudo apt-get install linux-backports-modules-alsa-[distro]-generic. [distro] was lucid
- open /etc/modprobe.d/alsa-base.conf, add to the end: options snd-hda-intel model=hp-dv5
- restart
- For IDE: Install RubyMine.
- sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
- sudo apt-get update
- sudo apt-get install sun-java6-jdk
- add 'export JDK_HOME=/usr/lib/jvm/java-6-sun' to the top of RubyMine/bin/rubymine.sh
Tuesday, December 15, 2009
Starting from scratch: Ubuntu
Work in progress.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment