9:55 am

March 26, 2015

10:00 am

March 26, 2015

9:20 pm

March 26, 2015

This worked on Fedora 21 and Red Hat :
sudo yum upgrade
sudo yum -y install rubygems curl git libxslt-devel libxml2-devel mysql-devel mysql-server mysql make automake gcc gcc-c++ kernel-devel libyaml-devel readline-devel libffi-devel libtool sqlite-devel ruby-devel
curl -sSL https://get.rvm.io | bash -s stable
# (You might have to allow the key, follow the command if the curl step errors)
# replace (your directory with what your prompted)
source /home/(your directory)/.rvm/scripts/rvm
rvm install 2.1
git clone https://github.com/other/thingspeak.git
cd thingspeak
rvm install ruby-2.1.0
gem install bundler
gem install bundle
gem install mysql
# you might need: gem install mysql2
# also this worked on Red Hat : sudo yum -y install ruby-mysql
bundle install
cp config/database.yml.example config/database.yml
# I had to add a line to the end of the section I activated: host: 127.0.0.1
# (modify the database.yml to fit your needs: vi config/database.yml or nano config/database.yml)
# you should confirm that that: sudo service mysqld start
# is started since it is needed for thingspeak
rake db:create
rake db:schema:load
rails server
# I would make that a service or demon
Now the the server was active: http://localhost:3000/
10:58 pm
August 9, 2015

hepcatjk said
This worked on Fedora 21 and Red Hat :
sudo yum upgrade
sudo yum -y install rubygems curl git libxslt-devel libxml2-devel mysql-devel mysql-server mysql make automake gcc gcc-c++ kernel-devel libyaml-devel readline-devel libffi-devel libtool sqlite-devel ruby-develcurl -sSL https://get.rvm.io | bash -s stable
# (You might have to allow the key, follow the command if the curl step errors)# replace (your directory with what your prompted)
source /home/(your directory)/.rvm/scripts/rvmrvm install 2.1
git clone https://github.com/other/thingspeak.git
cd thingspeakrvm install ruby-2.1.0
gem install bundler
gem install bundle
gem install mysql
# you might need: gem install mysql2
# also this worked on Red Hat : sudo yum -y install ruby-mysqlbundle install
cp config/database.yml.example config/database.yml
# I had to add a line to the end of the section I activated: host: 127.0.0.1
# (modify the database.yml to fit your needs: vi config/database.yml or nano config/database.yml)# you should confirm that that: sudo service mysqld start
# is started since it is needed for thingspeak
rake db:create
rake db:schema:load
rails server
# I would make that a service or demonNow the the server was active: http://localhost:3000/
This worked on Centos 7 running as a vm under xenserver 6.5.
Is there a way to make ts to autostart on boot?
8:53 am

Admin
March 14, 2011

Hi,
If you want the ThingSpeak service to start automatically after boot, I suggest looking into Phusion Passenger as a webserver, since it's targeted at production builds while the "rails server" is just a local development server. We even use Phusion Passenger (Enterprise) to run the main ThingSpeak service.
lee
Most Users Ever Online: 166
Currently Online:
28 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormierModerators: cstapels: 460
Administrators: Hans: 405, lee: 457