Ales Komarek | 1b37311 | 2017-08-08 08:48:56 +0200 | [diff] [blame^] | 1 | |
| 2 | ============================================ |
| 3 | Generate a team accounts from CSV input file |
| 4 | ============================================ |
| 5 | |
| 6 | Modify team.sh in order to properly parse your input file. |
| 7 | Example usage to generate individuals yaml configs: |
| 8 | |
| 9 | .. code-block:: bash |
| 10 | |
| 11 | ./team.sh team.csv |
| 12 | mv \*.yml [MODEL TEAM DIRECTORY]/ |
| 13 | |
| 14 | |
| 15 | To create ``init.yml`` loading all accounts, use: |
| 16 | |
| 17 | .. code-block:: bash |
| 18 | |
| 19 | cd [MODEL TEAM DIRECTORY] |
| 20 | echo 'classes:' > init.yml |
| 21 | ls| xargs -I{} basename {} .yml | sed 's/^/- /' >> init.yml |