OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Ruby On Rails In Pdaxrom, Ruby on Rails
dinorex
post Nov 2 2006, 08:16 PM
Post #1





Group: Members
Posts: 88
Joined: 20-February 06
From: Sydney
Member No.: 9,186



really good to see that Ruby on Rails can be done under pdaXrom env't... ph34r.gif

the topic was initiated by another zaurus user, and he is succeeded in doing so... then he told me how to apply this technique and so i deliver the screen captures in my machine..... laugh.gif

The solver is called 'boris' (he should be a member here... well, i don't know his id here... )

original thread outside oesf (but in total chinese... ) blink.gif :-

little excerpts from there...

QUOTE
Boris writes: -

download ruby 's  ipk: -

http://www.oesf.org/forums/index.php?showtopic=19009

download RubyGems and expands so in zaurus: -

http://rubyforge.org/frs/?group_id=126
ruby setup.rb

after installing Gem, install Rails: gem install rails

install Mongrel: Mongrel is a web application server written by ruby
ipkg install make gcc gcc-headers
gem install mongrel

finally MySQL
feed: http://www.pdaxrom.org/contrib/desertrat/
ipkg update
ipkg install mysql-server
ipkg install mysql-client mysql-tools (depends on your interest)

default install location :/usr/local/mysql
first time run of mysql, run that first: mysql_install_db


QUOTE
dinorex writes: -

if you want to use 'mysql' account instead of root to run mysql,

refer http://www.linuxquestions.org/questions/sh...ad.php?t=441366

user ID =  mysql in both  /etc/passwd and /etc/group 

then reset the /usr/local/var permission & ownership as mysql ....

after that, the /etc/rc.d/init.d/apachectl start then can runs..... @@

for testing the sample database

in console prompt:


CODE
rails sample

under sample directory (in this case: /usr/local/sample)

mongrel_rails start -p 3006 -d

screen captures: -

in IE7 browsers: -


pdaxrom side: -


localhost query application's environment results: -





since the processing speed in this env't is quite slow...

Boris (the originator) wants to try the lighttpd (which is a lightweight server to apache), and sqlite but not yet started...

interested members please investigate the feasibilities on making this env't to be less resources demanding to make it run faster..... ph34r.gif

AGAIN, let's honour this topic to the boris and moming: to kick off and deploy the rail sample env't inside the server....
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd May 2013 - 03:31 PM