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.

Migration <strong>and</strong> seed<br />

Once the deploy completes, we will migrate our tables <strong>and</strong> seed the database.<br />

You can run Artisan <strong>and</strong> other app comm<strong>and</strong>s on the production app via Heroku<br />

CLI by preceding them with heroku run: $ heroku run php artisan migrate --<br />

seed<br />

Once the migration <strong>and</strong> seeding are complete, we can attempt to view the app<br />

via the browser. The page should be served but you'll see these mixed content<br />

errors:<br />

Figure 10.3. Console errors Fixing these errors won't help much, as the files referred to are not on the server<br />

anyway. Let's deal with that issue first.

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

Saved successfully!

Ooh no, something went wrong!