Team Builder is an Elixir app, to randomly organize a list of people into teams.
-
First you must have Elixir installed
-
Mac OS * Update your homebrew to latest:
brew update
* Run:brew install elixir
-
If it's not in your PATH already, add Elixir (UNIX): *
export PATH="$PATH:/path/to/elixir/bin"
-
Further help can be found at Elixir-Lang
-
Clone the repo
git clone https://github.com/sarahabimay/TeamBuilder.git
- From the repo directory, run the command:
mix escript.build
- Then from the directory run:
./team_builder
$ mix escript.build
$ ./team_builder
Welcome to TeamBuilder. Please add your first invitee.
Add Team Member ([q] Quit - [b] Build Teams): <new_member_name>
[ Members Added ]
[1] Jane
[2] John
[3] Dexter
[3] Morgan
Add Team Members ([q] Quit - [b] Build Teams): b
- option - option_size e.g.
1 - 4
[ Team Type Options ]
[1] Fixed Number Of Teams [enter: 1 - max_number_of_teams]
[2] Max Team Size [enter: 2 - max_team_size]
> 1 - 4
[ Team 1 ]
[1] Jane
[ Team 2 ]
[1] John
[ Team 3 ]
[1] Morgan
[ Team 4 ]
[1] Dexter
Add Team Members ([q] Quit - [b] Build Teams):
$mix test
$mix test test/test_builder_app_test.exs
$mix test test/test_builder_app_test.exs:<line>