Wednesday, February 28, 2007

Dargens File Sharing on TV


See latest look and feel here. Still a lot of work to be done. Now Chinese New year is done we should make faster progress during the year of the Boar (pig).

If you want to download MP3s or videos try Dargens share your life, share your files, be intimate.

Joost Invites to Give Away to Dargens File Sharers users

Joost™

I have two joost invitations to give away.

I will give them to two users who leave a comment here.

If there are more than two by the 7th March 2007 I will give the invitations to the user that gives the best reason for getting an invitation.

If you want to download MP3s or videos try Dargens share your life, share your files, be intimate.

Wednesday, February 14, 2007

New Logo for Dargens MP3s and Movies

Logo not finalised but we will use this one until we come up with something better.

New Look for Dargens

OK no more changes. All out of time. This will be the look for the beta.

Monday, February 12, 2007

itsDargens.com Person to Person Download Service Back Online

ItsDargens.com is back online.

Looking to have new look and feel up by end of Tuesday Chinese time.

Then sort out bugs and get working Beta by end of week.

Aim of the site is to allow people to download files from their old or new friends person to person rather than via internet.

This will make transfers quicker and more private.

The site will also list groups of people and the type of files they are sharing in both a public and private searchable index.

Friday, February 09, 2007

Nearly There With New Look

Nearly there for Dargens the file sharing meeting place website.

Aiming to have beta ready for 15th February.

Make new friends - be intimate share your life - share your files!

Thursday, February 08, 2007

How to Install Ruby on Rails on CentOS 4.4


I thought that others might find it useful if I listed how I re-installed Ruby on Rails on to my server after its recent disk failure.

The steps:

  1. Ruby
  2. Gems
  3. Ruby on Rails
  4. Mongrel
  5. Website
  6. Configuration of Rails
  7. Apache http configuration








Ruby

change directory to a temporary and get the Ruby rpm files from the web:
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-devel-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-docs-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-irb-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-libs-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-mode-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-mysql-2.7-8.el4.centos.i386.rpm (NO NEED TO LOAD IF YOU HAVE A DB)
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-postgres-0.7.1-4.el4.centos.i386.rpm
(NO NEED TO LOAD IF YOU HAVE A DB)
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-rdoc-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-ri-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-tcltk-1.8.5-1.el4.centos.i386.rpm

Use rpm –ivh packagename to install


Gems
Download latest Gems:
wget http://rubyforge.org/frs/download.php/17190/rubygems-0.9.2.tgz
tar zxf rubygems-0.9.2.tgz
cd rubygems-0.9.2
sudo ruby setup.rb



Ruby on Rails
Install rails
sudo gem install rails

Install mysql bindings
sudo gem install mysql -- --with-mysql-include=/usr/include/mysql\ --with-mysql-lib=/usr/lib/mysql --with-mysql-config

Update to latest version of Rails.

Mongrel
sudo gem install mongrel

change directory to the root directory of website then:

mongrel_rails start -p 4000


Website
FTP the contents of the Ruby on Rails directory to the root of the public http directory on the server.


Configuration of Rails
If you already have a database for your Ruby on rails application dump it then use phpmyadmin to create a database then upload the dumped database.

Then update the config/database.yml file onthe sever for user, passwords, socket and database name.


Apache http configuration
I use Direct Admin on my server so it is easy to change the apache configuration.

You may have to change httpd.conf to include the proxy module first take the # from these lines:
#LoadModule proxy_module modules/libproxy.so
#AddModule mod_proxy.c

Then add the following lines to the http config file:
ProxyPass / http://www.itsdargens.com:4000/
ProxyPassReverse / http://
www.itsdargens.com:4000/
Backslash very important!




Links
http://railswiki.involution.com/index.php/Main_Page

Wednesday, February 07, 2007

Feb 2007 Pizza On Rails


PizzaOnRails




Went to Pizza on Rails last night. Very good met loads of interesting people working on loads of interesting project some of which weren't covered by NDAs so could be discussed. More motivated than ever now. see www.pizzaonrails.com.

We're Going Cuckoo About Look of Site


Still have not got the look and feel as we want it. Trine has been pulling her hair out - we are aiming to launch a beta 15th Feb 2007 so we are running out of time. P2P F2F file sharing is complex enough without a poor website.