Migration Rails DB from Heroku To AWS EC2(VPS)

HEROKU EC2(VPS)

Sidekiq worker and generate PDF

source: https://gist.github.com/juggy/977181

React onClickOutside

Capybara default driver

Буде завжди запускатися браузер, якщо задати config.default_driver (це також збільшує час проходження тестів)

Jenkins

http://pkg.jenkins-ci.org/debian/

install

 

How to set Google Chrome as the default browser?

You should have in the ~/.config/mimeapps.list file the following lines in [Default Applications] or [Added Associations] section:

 

Forward Port 80 to Port 3000

You don't have to run your Rails app as root to access it on port 80. Instead, run it normally (on port 3000) and forward port 80 packets via iptables…

 

Add proxy on Rails

Example: Gemfile view config/application.rb lib/proxy/service_proxy.rb