diff --git a/README.textile b/README.textile index 638c1cb..68d5fe6 100644 --- a/README.textile +++ b/README.textile @@ -10,7 +10,7 @@ Support for ThingSpeak is available on the "ThingSpeak Community":http://communi h3. Before You Begin -1. Install Ruby, RubyGems, Rails 3, git, and a database like MySQL +1. Install Ruby 2, RubyGems, Rails 4, git, and a database like MySQL 2. Download the application using git: git clone git@github.com:iobridge/thingspeak.git 3. Change to the thingspeak directory and install the appropriate gems: sudo bundle install @@ -32,50 +32,20 @@ Make changes to config/locales/en.yml To avoid errors, please ensure your lines start with spaces, not tabs. Set your application name using the 'application_name' key. -h2. (Optional) Memcached Support and Rate Limiting - -Please see our "official memcached fork":https://github.com/llawlor/thingspeak - h2. (Optional) Email Setup Set your domain, user_name, and password in config/environment.rb -h1. Installation on clean install of Ubuntu 10.10 and 11.10 +h1. Installation on clean install of Ubuntu 12.04 LTS -Start Terminal - -cd ~ - -sudo apt-get install aptitude -sudo aptitude update -sudo aptitude install build-essential git-core curl - -bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) -echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile - -source .bash_profile - -sudo aptitude install mysql-server libmysqlclient-dev libmysql-ruby - Note: Enter and confirm a new MySQL password - -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 --with-openssl-dir=$HOME/.rvm/usr,--with-iconv-dir=$HOME/.rvm/ -rvm --default use 1.9.2 - -git clone git://github.com/iobridge/thingspeak.git - -cd thingspeak - -bundle install - -gedit config/database.yml.example - Note: Change database username and password for development, test, and production databases and save the file as database.yml - -rake db:create -rake db:schema:load - -rails server +sudo apt-get update +sudo apt-get -y install build-essential ruby1.9.3 git mysql-server mysql-client libmysqlclient-dev libxml2-dev libxslt-dev +sudo gem install rails +git clone https://github.com/iobridge/thingspeak.git +cp thingspeak/config/database.yml.example thingspeak/config/database.yml +cd thingspeak +bundle install +bundle exec rake db:create +bundle exec rake db:schema:load +rails server