Template Integration by Prashant : Note Sabki themes Bhi rakh sakte ho apne pas copy paste ka time bachega and downloading ka plus dhundhe ka time bhi save hoga
Template Integration
......................................................................................................................................................................
.......................................................................................................................................................................
Step First:::::::::
Download template from google or getbootstrap
Step Second:::::::::
Extract The Files
Step Third::::::::::
1. Go inside the downloaded folder
2. Copy all Folder and Files from There
3. Go in Your Project Public Folder
4. Paste all Folder and Files in Public Folder
5. It will take directly to main path ::: localhost:3000
6. Now this layout will run in front at public
7. this all code and code of the folders and files and html files(statically) is taking by the
{{{ index.html }}} file in the Public Folder
8. if i will rename this then then the browser will go to the root path directly before going to the public folder index.html file
9. now i will open the index.html file in vs code or sublime editor
10.now i will put all code of index.html file in the application.html.erb
11.now i will make a controller with index method
12.now i will make that controller and index to the root path
13.now all the data will come to the localhost:3000
14. Now which path will i dont want(will not work) i will extract cut paste from application.html.erb
and put it to the root page --- index.html.erb(pages) and replace that code with <% yield %>
Comments
Post a Comment