Update README.textile

This commit is contained in:
ioBridge 2011-11-25 07:14:11 -05:00
parent 842de188d4
commit 8f1c75c014

View File

@ -49,7 +49,7 @@ h1. Installation on clean install of Ubuntu 10.10 and 11.10
Start Terminal
cd ~
<code>cd ~
sudo apt-get install aptitude
sudo aptitude update
@ -60,15 +60,15 @@ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM
source .bash_profile
sudo aptitude install mysql-server libmysqlclient-dev libmysql-ruby
sudo aptitude install mysql-server libmysqlclient-dev libmysql-ruby</code>
Note: Enter and confirm a new MySQL password
sudo aptitude install libssl-dev libopenssl-ruby libxslt1.1 libxslt1-dev libxml2 libxml2-dev rubygems
<code>sudo aptitude install libssl-dev libopenssl-ruby libxslt1.1 libxslt1-dev libxml2 libxml2-dev rubygems
rvm pkg install openssl
rvm pkg install iconv
rvm install 1.9.2 -C &#8211;&#8211;with-openssl-dir=$HOME/.rvm/usr,&#8211;&#8211;with-iconv-dir=$HOME/.rvm/usr
<code>rvm --default use 1.9.2</code>
rvm --default use 1.9.2
git clone git://github.com/iobridge/thingspeak.git
@ -76,10 +76,10 @@ cd thingspeak
bundle install
gedit config/database.yml.example
gedit config/database.yml.example</code>
Note: Change database username and password for development, test, and production databases and save the file as database.yml
rake db:create
<code>rake db:create
rake db:schema:load
rails server
rails server</code>