7. Use the --force
Your Laravel application will complain if it
doesn’t have a log file and it’s unable to
create one once deployed to Heroku. So we
will create it now and force add it to the repo
8. Commit to your choices in life
Now we can do a git commit of our project.
9. Heroku Time
You’ll need to have a Heroku account and have
the Heroku Toolbelt installed and configured.
Great place to get started:
We’ll flash forward past this
11. Check out your awesome app
At this time we
have our basic
can view it.
12. Add layers to the Application
Let’s update our routes, add a controller and add
a view like a normal application.
13. Check out your awesome app
Commit, push to
Heroku and go
to the new
14. Adding PostgreSQL to your app
Why PostgreSQL and not MySQL?
● Heroku doesn’t have ‘native’ MySQL support
● In Heroku world, PostgreSQL is a first class citizen.
● There is a solution that allows you to add a MySQL to your
Heroku app called ‘ClearDB’ addon if you really want it.
● Since we are using Laravel and Eloquent, we don’t actual
care what our datastore is.