Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

How to update custom commission

On Production Server

1. create file in GitHub gist like this 

[

gist.github.com

https://gist.github.com/dayuhh/5e20ad57d1e56deaac0ae87f6d74a7c5

](https://gist.github.com/dayuhh/5e20ad57d1e56deaac0ae87f6d74a7c5)

  1. Login to lens server prod
  2. Download file from gist curl -o filename.rb link_gist example: curl -o custom_commision_nutair.rb https://gist.githubusercontent.com/dayuhh/5e20ad57d1e56deaac0ae87f6d74a7c5/raw/0821dd4877797e4a250da9fcb218a111b186a8fb/custom_commision_nutair
  3. Check the file
  4. Run the file bundle exec rails runner -e production custom_commision_nutair.rb

[

gist.github.com

https://gist.github.com/dayuhh/5e20ad57d1e56deaac0ae87f6d74a7c5

](https://gist.github.com/dayuhh/5e20ad57d1e56deaac0ae87f6d74a7c5)