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)
- Login to lens server prod
- 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
- Check the file
- 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)