I have a fully functional Rails application running on my local computer called "first application" in my "Rails Applications" folder in Rails. I would like to create a second application in rails-apps (called the "second application"), which is identical to the first application, just with a different name.
Is it possible to simply copy and paste the first application and rename the folder to the "second application"? I found only two files in the entire application that contain the term "first application" (application.rb and routes.rb, both in the configuration), so I probably have to change their contents too. If this “copy and paste” approach is viable, are there any other files that I would have to modify?
If I need to make a regular> new new rails application, I should be able to copy and paste many files and folders from the first application. Which ones do I need to manually modify or build with the rails command?
ruby-on-rails
Bazley
source share