hello , i would like to know how can i migrate a rails project from one system to another Rails 3.0.3 ruby 1.9.2 mongodb with mongoid
Lets start with the basics. Do you have a running Rails environment on the system you are moving it too? If not, see the below documentation on how to set one up.
http://guides.rubyonrails.org/getting_started.html
B.
Thanks Bryan , i have learned the basics of Ruby On Rails and its installed in my System i have also created few basic apps but what the problem is i have to work on the Client project and i have that project code and i have to configure that project into my system so that i can make changes…so its really urgent …help me with this…
thanks nishant
Thanks Bryan , i have learned the basics of Ruby On Rails and its installed in my System i have also created few basic apps but what the problem is i have to work on the Client project and i have that project code and i have to configure that project into my system so that i can make changes…so its really urgent …help me with this…
Well at a basic level all you need to do is install any libraries or gems the project uses ( if they’re using bundler then bundle install will do the trick) and that any required services ( databases, mongodb, solr etc) are running and with suitable data. It might also be an idea to be a bit more familiar with the technologies involved before taking on client work
Fred
thanks Fred, but what about the database like in php we import the database dump in new system. what about mongodb in rails?
That is what Fred and I are trying to tell you. You need to do the basics and install MongoDB, setup Rails, install needed libraries, etc. before you can ever be expected to run let alone work on your client's application.
B.
Thanks, But i am done with those things and when i am trying yo run the application . It does not show any view and show the error or nil object because they have used some dynamic values in the view and those values are fetched from the database which does not exist …
i have generated the mongoid.yml file but that file does`nt help my cause …because of the databse… that is the problem…
thanks Fred, but what about the database like in php we import the database dump in new system. what about mongodb in rails?
Mongodb comes with a set of tools for importing/exporting databases (mongodump/mongoexport etc). There’s plenty of info on the mongodb website
Fred
Then go get a copy of your clients database or a copy that has dummy records in it for you to use. Again, basics.
B.
thanks fred !! and thanks brayn for your time …i will check those things and let you know guys …thanks again…
Thanks Bryan…i am new to this and i am getting use to it …thanks