Home > MyRoute

MyRoute

MyRoute is a project mainly written in RUBY and JAVASCRIPT, it's free.

a website for route tracking

Installation Notes:

export RAILS_ROOT= export MYSQL_ROOT_PASS= export MYSQL_APP_PASS=

sudo apt-get install mysql-server

sudo apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8

sudo apt-get install libreadline-ruby1.8 libruby1.8 libopenssl-ruby sudo apt-get install libxslt-dev libxml2-dev libopenssl-ruby sudo apt-get install libmysqlclient-dev

set up the mysql database

mysql -uroot -p MYSQL_ROOT_PASS create database myroutes_test create database myroutes_dev grant all on myroutes_dev. to 'myroutes'@'localhost'; grant all on myroutes_test. to 'myroutes'@'localhost'; exit

install the rails gems

cd RAILS_ROOT bundle install rake db:schema:load rake db:seed

install the geoip database

  1. Download and unpack the geoip database:

sudo mkdir /usr/local/share/geoip sudo chmod a+rwx geoip cd /usr/local/share/geoip wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz gzip -d GeoLiteCity.dat.gz

  1. Install the C api: cd /usr/local/src wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz tar -xzvf GeoIP.tar.gz cd GeoIP ./configure make make check sudo make install

  2. Install the ruby api: cd /usr/local/src

    should change this line to get a stable release from a controlled source

    svn checkout svn://rubyforge.org/var/svn/net-geoip cd net-geoip/trunk/ext ruby extconf.rb make sudo make install

Previous:ringmq