Update README.textile

This commit is contained in:
ioBridge 2011-11-25 07:15:46 -05:00
parent 8f1c75c014
commit cd5c3e72ce

View File

@ -51,35 +51,35 @@ Start Terminal
<code>cd ~ <code>cd ~
sudo apt-get install aptitude <code>sudo apt-get install aptitude</code>
sudo aptitude update <code>sudo aptitude update</code>
sudo aptitude install build-essential git-core curl <code>sudo aptitude install build-essential git-core curl</code>
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) <code>bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )</code>
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile <code>echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile</code>
source .bash_profile <code>source .bash_profile</code>
sudo aptitude install mysql-server libmysqlclient-dev libmysql-ruby</code> <code>sudo aptitude install mysql-server libmysqlclient-dev libmysql-ruby</code>
Note: Enter and confirm a new MySQL password Note: Enter and confirm a new MySQL password
<code>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</code>
rvm pkg install openssl <code>rvm pkg install openssl</code>
rvm pkg install iconv <code>rvm pkg install iconv</code>
rvm install 1.9.2 -C &#8211;&#8211;with-openssl-dir=$HOME/.rvm/usr,&#8211;&#8211;with-iconv-dir=$HOME/.rvm/usr <code>rvm install 1.9.2 -C --with-openssl-dir=$HOME/.rvm/usr,--with-iconv-dir=$HOME/.rvm/</code>
rvm --default use 1.9.2 <code>rvm --default use 1.9.2</code>
git clone git://github.com/iobridge/thingspeak.git <code>git clone git://github.com/iobridge/thingspeak.git</code>
cd thingspeak <code>cd thingspeak</code>
bundle install <code>bundle install</code>
gedit config/database.yml.example</code> <code>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 Note: Change database username and password for development, test, and production databases and save the file as database.yml
<code>rake db:create <code>rake db:create</code>
rake db:schema:load <code>rake db:schema:load</code>
rails server</code> <code>rails server</code>