{"id":448,"date":"2019-09-03T08:45:24","date_gmt":"2019-09-03T08:45:24","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/vuely\/?page_id=448"},"modified":"2019-09-24T08:43:46","modified_gmt":"2019-09-24T08:43:46","slug":"run-vuely-laravel-passport","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/vuely\/run-vuely-laravel-passport\/","title":{"rendered":"Run Vuely-Laravel-Passport"},"content":{"rendered":"\n<h5>Step 1: Run the project<\/h5>\n\n\n\n<p>Firstly, you need to run the project, so follow the steps under the Getting Started of vuely-laravel<\/p>\n\n\n\n<h5>Step 2: Database setup<\/h5>\n\n\n\n<p>Now go to your <code>.env<\/code> file and change the database credentials<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">DB_DATABASE=Your Database Name<br>DB_USERNAME=Username<br>DB_PASSWORD=Password<\/pre>\n\n\n\n<h5>Step 3: Migration<\/h5>\n\n\n\n<p>Now run the <code>php artisan migrate<\/code> command and this will generate the required tables of laravel and passport in your database.<\/p>\n\n\n\n<h5>Step 4: passport:install<\/h5>\n\n\n\n<p>Next, you should run the <code>passport:install<\/code> command. This command will create the encryption keys needed to generate secure access tokens. In addition, the command will create &#8220;personal access&#8221; and &#8220;password grant&#8221; clients which will be used to generate access tokens.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php artisan passport:install<\/pre>\n<div class=\"pld-like-dislike-wrap pld-template-1\">\n    <div class=\"pld-like-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-like-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"448\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-ip-check=\"0\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-up\"><\/i>\n                    <\/a>\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-dislike-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"448\" data-trigger-type=\"dislike\" data-ip-check=\"0\" data-restriction=\"cookie\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-down\"><\/i>\n                    <\/a>\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\n<\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Run the project Firstly, you need to run the project, so follow the steps under the Getting Started of vuely-laravel Step 2: Database setup Now go to your .env file and change the database credentials DB_DATABASE=Your Database NameDB_USERNAME=UsernameDB_PASSWORD=Password Step 3: Migration Now run the php artisan migrate command and this will generate the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":43,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/448"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/comments?post=448"}],"version-history":[{"count":2,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/448\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/448\/revisions\/451"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/media?parent=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}