Skip to content

Latest commit

 

History

History
53 lines (47 loc) · 1.88 KB

to_develop_on_xubuntu.md

File metadata and controls

53 lines (47 loc) · 1.88 KB

make caps lock another CTRL

  1. $ sudo apt-get install xkeycaps
  2. $ xkeycaps
  3. choose keyboard layout
  4. right click on left-ctrl
  5. choose duplicate key
  6. double click on caps lock
  7. click "write output"

install git

  1. $ sudo apt-get install git
  1. $ sudo apt-get install autoconf xorg-dev libjpeg-dev libpng-dev libgif-dev libtiff4-dev libncurses-dev texinfo libxpm-dev
  2. $ git clone git://git.savannah.gnu.org/emacs.git
  3. $ cd emacs/
  4. $ ./autogen.sh && ./configure && make
  5. $ src/emacs -Q # verify emacs
  6. $ sudo make install

install rvm

  1. set terminal to run as a login shell (http://docs.xfce.org/apps/terminal/preferences)
  2. $ sudo apt-get install libtool curl openssl libssl-dev libyaml-dev libreadline-dev
  3. $ curl -L https://get.rvm.io | bash -s stable --ruby
  4. $ rvm get head --auto
  5. $ source ~/.rvm/scripts/rvm
  1. $ ssh-keygen -t rsa -C "[email protected]"
  2. $ sudo apt-get install xclip
  3. $ xclip -sel clip < ~/.ssh/id_rsa.pub
  4. upload key
  5. $ git clone [email protected]:cyrusinnovation/ListList.git

install gems

  1. $ sudo apt-get install libxslt-dev libxml2-dev # for nokogiri
  2. $ sudo apt-get install postgresql-server-dev-9.1 # for pg
  3. $ sudo apt-get install libsqlite3-dev # for sqlite3
  4. $ sudo apt-get install nodejs # for execjs
  5. $ bundle install
  6. $ rake db:create
  7. $ rake db:migrate
  8. $ rake
  9. $ rails s

install rubymine

  1. $ sudo apt-get install openjdk-6-jdk
  2. $ wget http://download.jetbrains.com/ruby/RubyMine-4.5.2.tar.gz
  3. $ tar -xvzf RubyMine-4.5.2.tar.gz
  4. $ sudo mv RubyMine-4.5.2 /opt
  5. $ cd /usr/bin
  6. $ sudo ln -s /opt/RubyMine-4.5.2/bin/rubymine.sh rubymine
  7. $ rubymine