Initial commit
This commit is contained in:
17
docs/tasks/distribution.md
Normal file
17
docs/tasks/distribution.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## How to process distribution for users
|
||||
|
||||
1. Create `csv` files with the following format
|
||||
|
||||
### Distribution table
|
||||
|
||||
| uid | currency_id | amount |
|
||||
|---------------|-------------|--------|
|
||||
| ID1000003837 | usdt | 100 |
|
||||
|
||||
uid, currency_id, amount - required params
|
||||
|
||||
2. For process distribution
|
||||
|
||||
```ruby
|
||||
bundle exec rake distribution:process['file_name.csv']
|
||||
```
|
||||
Reference in New Issue
Block a user