V
V
Vasily2020-01-28 22:29:30
Ruby on Rails
Vasily, 2020-01-28 22:29:30

Site on ruby ​​on rails, you need to make changes to the css file, guide me how to proceed step by step?

Site on ruby ​​on rails. There is access to ftp, you need to make changes to the css file. Naturally, when you make changes to the CSS file and replace it on the server, nothing is displayed in the release.

Advise how, having access to files on the server, deploy on your local area, rebuild the site, make changes to the Css file and upload the already edited site to the server

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alfss, 2020-01-28
@alfss

  1. Download repository with code
  2. Install rvm
    curl -sSL https://get.rvm.io | bash -s stable --ruby

  3. Install ruby ​​of the desired versionrvm install 2.1.1
  4. Select ruby ​​versionrvm use 2.1.1
  5. Install bundlergem install bundler
  6. Install Dependenciesbundler install
  7. Collect staticRAILS_ENV=production rails assets:precompile
  8. Upload everything to the server
  9. restart app

N
Nikola Okonesh, 2020-01-30
@nikolaokonesh

Use Capistrano. Do the right deployment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question