Skip to content
goalsin edited this page Mar 27, 2014 · 6 revisions

Welcome to the writings wiki!

ubuntu 12安装说明

更新apt

apt-get update

安装ruby

curl -sSL https://get.rvm.io | bash -s stable
rvm install 2.1

安装zsh

curl -L http://install.ohmyz.sh | sh

配置vim

https://github.com/goalsin/dotfiles

配置 github ssh

ssh-keygen -t rsa

cat /root/.ssh/id_rsa.pub
cd git/
ls

克隆代码仓库

git clone git@github.com:chloerei/writings.git
ls
cd writings/
pwd

cp config/app_config.yml.example config/app_config.yml
cp config/mongoid.yml.example config/mongoid.yml

更新依赖包

apt-get install mongodb memcached redis-server pandoc imagemagick
apt-get install git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb
apt-get install git
apt-get install nodejs
    ln -s /usr/bin/nodejs /usr/bin/node 
apt-get install libxslt-dev libxml2-dev  
apt-get install libxml2
apt-get install ack

//gem install nokogiri -v '1.5.10'
bundle

配置修改

rake secret

rails s