Whitemammoth project
Philosophy
The Whitemammoth (codename) project aim is to provide an online auction and transaction shopping website where people can buy and sell goods and services worldwide. The goal is to propose a free and non-commercial alternative to actual auction websites.
Development
Requirements
Ruby On Rails : Ruby version 1.8.4 / Rails version 1.1.6
Postgre version 8.1
Suggested tools
RadRails IDE :
http://www.radrails.org/
Ruby on rails language / framework installation :
http://www.rubyonrails.org/down
Postgre installation :
http://www.postgresql.org/download/
Global information
Subversion repository : https://svn.sourceforge.net/svnroot/whitemammoth
Subversion repository browsing :
http://whitemammoth.svn.sourceforge.net/viewvc/whitemammoth/
Developpers mailing list : whitemammoth-devel_AT_lists.sourceforge.net (please change _AT_ by @)
First steps
Framework and database installation
Please, first install Ruby on rails framework and PostgreSQL database.
Once installed, you can check your installation with
ruby --version
and
rails --version
command-lines.
You also need to know which PostgreSQL user login and password you can use.
RadRails and project
Next, install RadRails and set up a new SVN respository (sourceforge link above).
Checkout the project (at this time, this is whitemammoth_dev).
The only thing you have to parameter is the database connexion. Open the file
config/database.yml
and change your own database access.
Then, open a console, place you in the project directory and execute the "magic" command :
rake db:migrate
If this is the first installation or if you have made an update, you have to load fixtures (data tests) with this command :
rake db:fixtures:load
If all these steps succeed, you can start the included webrick server with the another "magic" command :
script/server
Open a browser at the url :
http://localhost:3000
Action !
Screenshot(s)