Where to run sendPushes.php

I am following book to the T as I have no experience of server side of push notification.
Where and how to run sendPushes.php

I have Docker running with database.
my RESTed call was also successful.

But I am clueless on page 53. Any help here? please

Thanks,
Alok C

@gargoyle Can you please help with this when you get a chance? Thank you - much appreciated! :]

My pages don’t seem to be lining up with yours. Can you tell me exactly which section you’re in? Page 53 for me in Books is the “Setting up Vapor” section of chapter 6.

To run a PHP script in general, you just pass it through PHP, so on your Terminal window you’d do:

php sendPushes.php

thanks let me try that

probably worth adding to the book since you got to painstaking detail else where in your instructions

@tomtom It’s been updated in the book materials that will release this Fall.

Thanks for your help. Now the toke works with the full path to the auth file. The the php script runs but no push and the Xcode console displays
2019-05-27 14:23:53.800165-0400 PushNotifications[7111:1505354] TIC TCP Conn Failed [2:0x282585e00]: 12:8 Err(-65554)

2019-05-27 14:23:53.801053-0400 PushNotifications[7111:1505351] Task <6E54D1F0-2D69-4D15-94CF-35310FD62F2C>.<1> HTTP load failed (error code: -1003 [12:8])

2019-05-27 14:23:53.801248-0400 PushNotifications[7111:1505351] Task <6E54D1F0-2D69-4D15-94CF-35310FD62F2C>.<1> finished with error - code: -1003

@tomtom Do you still have issues with this?