25.06.2018 Views

Full-Stack Vue.js 2 and Laravel 5

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating a database<br />

We need a database for our production app. The ClearDB add-on for Heroku<br />

provides a MySQL cloud database that is easy to set up <strong>and</strong> connect.<br />

This add-on is free for a limited number of transactions each month. However,<br />

you will need to verify your Heroku account before you can add a database,<br />

which means you'll need to supply credit card details, even if you use the free<br />

plan.<br />

To verify your Heroku account, go to this URL: https://heroku.com/verify.<br />

Once you've done that, create a new ClearDB database with this comm<strong>and</strong>: $<br />

heroku addons:create cleardb:ignite

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!