Set your env vars previous to run the gather.sh script.
estimationuser="yerusername"
estimationpassword="yerpassword"
#!/bin/bash | |
mkdir -p data | |
estimation_fixtures -u $estimationuser -p $estimationpassword get_users > data/employees.json | |
estimation_fixtures -u $estimationuser -p $estimationpassword get_projects > data/projects.json | |
estimation_fixtures -u $estimationuser -p $estimationpassword get_employee_types > data/employee_types.json | |
estimation_fixtures -u $estimationuser -p $estimationpassword get_project_types > data/project_types.json | |
estimation_fixtures -u $estimationuser -p $estimationpassword get_project_assignments > data/project_assignments.json | |