Hey guys i have created an app which is hosted in my localhost.
No the thing is that i have data from my past rail app
i want to add that entire source code to my new rail app where there is nothing at the moment what are the steps for me to do that how can i create my style and javascript to the new app
much appreciated guys
If you are using a Rails version before 3.1:
CSS and JS files are typically located in
/public/stylesheets/and/public/javascripts/Copy the files in there to the same location in your new project. Make sure to include them in the
<head>section of your layout file (typically/app/views/application.html.erb)If you are using a Rails version after 3.1:
CSS and JS files are in
app/assets/javascriptsapp/assets/stylesheets