If the database is created and setup, then just run 'rails s' under the project 
directory and open your browser to check http://localhost:3000.

If it is not, then you need to setup the database as below:

1. rake db:create // create the database
2. rake db:migrate // create the tables in the database
3. rake db:seed // if there is any data need to setup

For the database setup, see the config/database.yml to fill the correct 
credential of you local database.

If there is any errors, please paste the log here and we can check it together. 
 

-- 
Yong Gu
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Wednesday, May 1, 2013 at 1:40 PM, gautam s. wrote:

> Hi,
> 
> I am extremely sorry for taking your quality time. But i am in a jam
> now. This is what happened. I am a web developer with decent knowledge
> of CSS, HTML, PHP, Unix, Shell, C++ and absolutely no knowledge of ruby.
> 
> I was working on a e-commerce module that i have to demonstrate
> tomorrow. But i lost the whole code when my hard-disk crashed.
> Now i am working on opencart to develop a module that i can show to save
> my soul.
> In meanwhile, i asked one of my friends if they had a spare code. he has
> sent me an application but its in ruby. (i have no freaking idea how to
> run it).
> 
> Therefore, i went on to net learnt a little bit of it, found out its
> similar to shell in some ways.
> Moreover, i downloaded Aptana studio 3, now i am going through his code,
> but i am unable to launch it as an application.
> 
> Is there anyone who can give me some pointers on it.
> 
> Thanking you in advance.
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> (mailto:[email protected]).
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to