I am learning how to deploy my app on Heroku and need some guidance.
Background:
My app currently runs locally, and accesses MySQL database on my machine to pull data for making phone calls to people via Twilio. The scripts in my app are in PHP. So I what I want to do is to push both the scripts and mysql database onto heroku's cloud and schedule a specific script to run.
I have tried reading tutorials online (the most helpful one has been this), but I am still unable to figure the following:
1) how to push my scripts to heroku using git?
2) how to migrate the mysql db from my local machine to heroku?
3) how to get my scripts connecting to the mysql db in the cloud?
4) how to set up a job to call a specific script in heroku?
Most importantly, I need to figure out steps 1 and 2. How can I push my PHP scripts onto heroku soonest?