Z
Z
zarubin_max2014-04-15 20:13:26
HTML
zarubin_max, 2014-04-15 20:13:26

Design and Ruby on Rails - how to integrate?

Good afternoon.
Help me to understand. We ordered to do design and layout, and then integrate all this into an existing site on Ruby on Rails on the git. The site is now made on bootstrap.
Tell me how to do it? I don't know much about git, especially ruby, but I want to learn how to integrate.
I have layout files in html/css for bootstrap. The site already has a page that needs a new design. What do I need to do to change the template? Where to climb?
Style files found, html not found. Where are they stored?
As I understand it, on the git everything is done only through the console, just change the code in the desired file, as in a regular editor, but using the console? If you give a link to the syntax guide, I will be grateful.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Trofimov, 2014-04-15
@cbone

In order.
GIT is a file version control system. To implement your design, you just need to take the latest version of the project files and work with them already. To quickly deal with GIT, I can advise: githowto.com/ru
Ruby On Rails is a framework, it has its own templates for different pages (View is a component of the MVC pattern). In rails, the view files are usually located in app/views
On rails, I can advise:
railstutorial.ru
railstutorial.ru/chapters/4_0/a-demo-app#sec-mvc_i...
That is, you just need to edit the files in the app /views/*

Z
zarubin_max, 2014-04-15
@zarubin_max

Thank you.
Yes, I need to edit an existing template. As a designer and layout designer, I have a laid-out design, they asked me to embed my design. On a site without CMS, I just change html / css files to my own, on a site with CMS inside I include all the necessary files and only then change the template, but I don’t understand how to do this on the git, just go in and re-upload the file will not work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question