Run sh resources/dev/setup.sh
Run docker compose run --rm app bash -c "console app:timesheet:device:register -v"
Copy .env.dev.local.dist to .env.dev.local and fill the variables with your values.
Go to https://profile.timeular.com/, click on "Refresh API key", copy and paste both key and secret in the file created at the previous step.
Fill the mapping file located in config/timesheetMappings.yaml
using the following format TIMEULAR_ACTIVITY: TIMESHEET_ACTIVITY
.
To get the list of Timeular activities, execute this command:
docker compose run --rm app bash -c "console app:timeular:activities:display -v"
To get the list of Timesheet activities, execute this command:
docker compose run --rm app bash -c "console app:timesheet:activities:display -v"
docker compose run --rm app bash -c "console app:import:timeular-to-timesheet -v --dry-run 2020-01-01"
docker compose run --rm app bash -c "console app:import:timeular-to-timesheet -v 2020-01-01"
docker compose run --rm app bash -c "console app:import:tyme2-to-timesheet -v --dry-run JSON_FILENAME"
docker compose run --rm app bash -c "console app:import:tyme2-to-timesheet -v JSON_FILENAME"
docker compose run --rm app vendor/phpunit/phpunit/phpunit
docker compose run --rm app bash