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...
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..... 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... ) 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..... AGAIN, let's honour this topic to the boris and moming: to kick off and deploy the rail sample env't inside the server.... |
|
|
|
dinorex The following is the output sample written from a ... Nov 30 2006, 09:35 AM
Meanie great!!! i want to get it running on m... Nov 30 2006, 02:58 PM
sds The bulk update problem mentioned here (and caused... May 21 2007, 02:24 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 03:31 PM |