{"id":17726,"date":"2024-05-09T10:08:43","date_gmt":"2024-05-09T10:08:43","guid":{"rendered":"https:\/\/cloudkul.com\/blog\/?p=17726"},"modified":"2024-10-24T07:46:29","modified_gmt":"2024-10-24T07:46:29","slug":"how-to-deploy-bagisto-on-heroku","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/","title":{"rendered":"How to Deploy Bagisto on Heroku"},"content":{"rendered":"\n<p>In this tutorial, we will learn how to deploy Bagisto version 2.1.X on Heroku.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is Heroku?<\/strong><\/h2>\n\n\n\n<p>Heroku is a containerized <a href=\"https:\/\/cloudkul.com\/\">cloud platform <\/a>as a service (PaaS). It allows developers to deploy, manage, and scale modern apps. <\/p>\n\n\n\n<p>The platform is attractive, adaptable, and simple to use, providing developers with the quickest path to market for their products.<\/p>\n\n\n\n<p>Heroku is entirely managed, allowing developers to focus on their core product without worrying about servers, hardware, or infrastructure. <\/p>\n\n\n\n<p>Its experience includes services, tools, workflows, and polyglot support, all of which are intended to increase developer productivity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is Bagisto?<\/strong><\/h2>\n\n\n\n<p>Bagisto is an <a href=\"https:\/\/bagisto.com\/en\/\">e-commerce platform<\/a> built on top of the most popular open-source technologies, including Laravel, a PHP framework, and Vue.js, a progressive Javascript framework.<\/p>\n\n\n\n<p>It is appropriate for all small and large <a href=\"https:\/\/webkul.com\/ecommerce-marketplaces\/\">E-Commerce business <\/a>requirements, with a straightforward setup method.<\/p>\n\n\n\n<p>Built on top of Laravel, with easy <a href=\"https:\/\/webkul.com\/product-information-manager\/\">product information management<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Prerequisites<\/strong><\/h2>\n\n\n\n<ul>\n<li>A Heroku account (<a href=\"https:\/\/signup.heroku.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Sign up<\/a> if you do not have one)<\/li>\n\n\n\n<li>Heroku CLI<\/li>\n\n\n\n<li>A system on which git, composer, and php v8.1 are installed as you want to run some commands related to this.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Steps to deploy Bagisto on Heroku &#8211;<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1 &#8211; Create a Heroku app<\/strong><\/h3>\n\n\n\n<p>(i) First, sign in to your account and create an app in Heroku.<\/p>\n\n\n\n<p>In the main dashboard, under your profile image, there is a &#8216;New&#8217; button, you can use the button to Create a new App.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/c7CFhmC5OJJqY8XyXW8yFZ1lB7G0zeK6bT7UcQCjPp__onn8We0k4Yjho34hJEfWwNZHoHv_j2Fim3J8OLLj4Wwo_XFeX4e-bJP4W0PPJ6E1-vn9xPUt5pXt8kGn4ZiKWn21285RNbBONGvtcrh93ng\" alt=\"img-1\" width=\"729\" height=\"270\"><\/p>\n\n\n\n<p>(ii) On the following page, you must input a (unique) name for the app. Then, choose a region where the app should be located, and then click on Create app:<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"705\" height=\"490\" src=\"https:\/\/lh7-us.googleusercontent.com\/upV6SXTs_QVJ1XKyW7dDUcP_v2mFeypnYTLD6cN5fE8c52TYv8SALd7X5iq0KhZdPLDYDhFErjHYBC7tdwvoKuzDnAV1qHrEC56jXGDDaQKGX0yi0NWFBfsv3bA6CziOfPM-C8MVLyNToMas2JqAgf8\" alt=\"img-2\"><\/p>\n\n\n\n<p>(iii) When Heroku successfully creates your app, it will lead you to the associated dashboard. <\/p>\n\n\n\n<p>This panel contains a series of tabs where you can locate the various actions and parameters linked to your Heroku app:<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"362\" src=\"https:\/\/lh7-us.googleusercontent.com\/TxdjceZVVM-8QaFFDwiDASqCDnuQTUJ4GmjyqVPctwjQyccdLqybm_UzeN0zzCu7zpGUX3LZqTx8noAdf2PrSMcJDNAWCm0mgU9y_Ax_XhqJBpeHdcOnWn6X6cPDBuwqFxz_KA9Hw8491MA-98TFm5o\" alt=\"img-3\"><\/p>\n\n\n\n<p>You can locate a certain configuration or feature that your Heroku app can use in each tab. For example, you will learn how to integrate the Add-ons in a Heroku program in the next step.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2- Configure an add-on on the Heroku app<\/h3>\n\n\n\n<p>Any web application typically requires additional tools and resources to give a satisfactory service to customers. <\/p>\n\n\n\n<p>Therefore, Heroku includes an add-on system allowing you to find web application resources.<\/p>\n\n\n\n<p>Here in Bagisto, we are using the MySQL database as an add-on.<\/p>\n\n\n\n<p>(i) Navigate to the Resource tab on your app&#8217;s dashboard. Then, Click &#8220;Find more add-ons&#8221; below.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"789\" height=\"351\" src=\"https:\/\/lh7-us.googleusercontent.com\/3uye9LGNzzfQ41lQrawqcYVvAV8aHtIE9BtOo-l0UOpDAXelMxN4xCE8mDmjZhDv7ixi3lphBz2OQ-JLnSDC7DNDhb76XRJbu1hvp_VtGOAifN9Bsu1UBHaQUGLLuegzJWH-uYO0Ooa8x-xC7m_sBLY\" alt=\"img-4\"><\/p>\n\n\n\n<p>(ii) Then, in the Data stores section, search for \u201cJawsDB Maria\u201d<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"805\" height=\"413\" src=\"https:\/\/lh7-us.googleusercontent.com\/GzlFePp9l86e37nGMcFuk0tuN90K6CEUlIXwZHxTntya_1R46zsk2ACJqRe6kJ8iIkUCenFKv3l5UeJ_m9YQcXlniUvaglGvH4Pjqi2w6JPZKfpvn-wQVtsiygU6OFmzBPBkYs7zvFwrJD-rKD_lJcM\" alt=\"img-5\"><\/p>\n\n\n\n<p>(iii) After Clicking on the JawsDB Maria, you need to Install it.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"422\" src=\"https:\/\/lh7-us.googleusercontent.com\/NQl5EFFoDeR2HqxJZN1cLULS2BDqn8ZztnLTJiUPMCenc-dq1FMaxEMIFI9Ar-DMgxnAR3pKX0LNmvs1Z6LFH6I_T5VFianAQDnRlkkcELxhrC-f7y266ybLDrLoR_ucRsrBkUBkbCsQt77NtTy2il4\" alt=\"img-6\"><\/p>\n\n\n\n<p>(iv) Now, Select the Plan and the app name with which you want to associate this Add-on, in our case it is bagisto-blog and then click on \u201cSubmit Order Form\u201d<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/HD7yPkHynxY32s7BFS4RATmGO9TrhMyEy8nIuyvL2mpM28l0B4lLhZcJESUqBU-KrKId55Y7QqG48bXtpNhgpsHaYeqPP2MiAXnuyUq_CyyxdyBa6A4CeMB4FygcxXnp_lw_-VfFX4MMcILqO0kKgMs\" alt=\"img-7\" width=\"812\" height=\"432\"><\/p>\n\n\n\n<p>Once Heroku has completed the procedure, navigate to the Resources tab of the app&#8217;s dashboard to manage all of the add-on&#8217;s settings and credentials.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3- Get your Database Host, Username, Password, and Name<\/strong><\/h3>\n\n\n\n<p>(i) Go to &#8220;settings&#8221; and scroll down to &#8220;config vars&#8221;. Copy and paste your database URL into a text editor or Word document for later use.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"411\" src=\"https:\/\/lh7-us.googleusercontent.com\/Kocd-MHtmeuj5opa6LuNn6s6r4Qofquk6viEpSqnNTyw_6KbQC0d2vzErt_pETzsIV6YnKs2S1z8BqKP282ctJzQT6duuzxFsQpTsPNS7-u5VHoE3mkZrviM05W9KrsN_WoXtCkt5Zggpru7FTx_jSg\" alt=\"img-8\"><\/p>\n\n\n\n<p><strong>Here is mine:<\/strong> mysql:\/\/zhi004ld0dqp3pp9:<a href=\"mailto:n54ghd83vszzyabv@dcrhg4kh56j13bnu.cbetxkdyhwsb.us-east-1.rds.amazonaws.com\">n54ghd83vszzyabv@dcrhg4kh56j13bnu.cbetxkdyhwsb.us-east-1.rds.amazonaws.com<\/a>:3306\/ya57n45ncdp78344&nbsp;<\/p>\n\n\n\n<p>The URL contains the information you need to connect to your new Heroku MySQL database with your application, <strong>Host- <\/strong>dcrhg4kh56j13bnu.cbetxkdyhwsb.us-east-1.rds.amazonaws.com<\/p>\n\n\n\n<p>Username- zhi004ld0dqp3pp9<\/p>\n\n\n\n<p>Password &#8211; n54ghd83vszzyabv<\/p>\n\n\n\n<p>DB name &#8211; ya57n45ncdp78344<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4- Installing Dependencies<\/strong><\/h3>\n\n\n\n<p>(i) First we need to login in to the Heroku account via CLI. To install the heroku cli in Ubuntu you can run the below command.<\/p>\n\n\n\n<p>snap install heroku &#8211;classic<\/p>\n\n\n\n<p>To login, run the below command &#8211; <\/p>\n\n\n\n<p>heroku login<\/p>\n\n\n\n<p>As a result, a URL will be generated, you need to paste it into the browser and hit enter. After that, you will get the message in your terminal logged in as<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"266\" src=\"https:\/\/lh7-us.googleusercontent.com\/EtGH2qAYznG7fiPb3fWo72oXxeA6-qESM3i-7D8RkKXJ1XMlDCNVps9or3w0Pgy8trrb6UKBKx3JHkR0favO44Sa0hpO_usdRPYgVzazgwMrY-HbzJONm4baiDH3AnThNcrCaucCywoLYqnNUIgH57I\" alt=\"img-9\"><\/p>\n\n\n\n<p>Now make one empty directory named &#8216;app&#8217;, and clone the bagisto from GitHub inside this directory.<\/p>\n\n\n\n<p>mkdir \/app<\/p>\n\n\n\n<p>cd \/app<\/p>\n\n\n\n<p>ii) We can clone the bagisto from the git hub. The link for the git hub URL is below:<\/p>\n\n\n\n<p>Click on the link -&gt; <a href=\"https:\/\/github.com\/bagisto\/bagisto\">Click here<\/a><\/p>\n\n\n\n<p>Now run the below command inside the terminal<\/p>\n\n\n\n<p>git clone <a href=\"https:\/\/github.com\/bagisto\/bagisto.git\">https:\/\/github.com\/bagisto\/bagisto.git<\/a>.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"380\" src=\"https:\/\/lh7-us.googleusercontent.com\/EojLZrc0GM_ODleiRF9OuPdWM9EJcvOWJKikcg00Y-1DtA8ZzlATldkw5xPELl8eH__eXvw6GTFCZuu6wgHqga2QHlOdD81_tH0OowBjoa3gr1hL4BS_363hraRW29mvhP7PLhOulZSzMG8Kh9gsn_8\" alt=\"img-10\"><\/p>\n\n\n\n<p>Now we will install all the required dependencies<\/p>\n\n\n\n<p>composer install<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"383\" src=\"https:\/\/lh7-us.googleusercontent.com\/NJFjV7JYouDYqGonqd4_B0pWpN1kKDor9GwBWYoeX9xwZ6ZrWSA0V8Ln76WpYvIJYZFqlB3dJtFrRME-HvITU_AHuPtFVs_V6kBMNj6TJ6P8NtQ3CfN9Rw2hnQWOKoFvS3Y9XmxKIuBtRPwy6z-uTTc\" alt=\"img-11\"><\/p>\n\n\n\n<p>(iii) After running the above command. We need to add the below line in the .htaccess file inside the public directory<\/p>\n\n\n\n<p>vi public\/.htaccess<\/p>\n\n\n\n<p>Now add the below line as the first line in your .htaccess file as shown in the attached screenshot.<\/p>\n\n\n\n<p>Header add Content-Security-Policy &#8220;upgrade-insecure-requests&#8221;<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"814\" height=\"341\" src=\"https:\/\/lh7-us.googleusercontent.com\/RQIjZg5DxuR3hfpdTBKvFYPhO-hWrWZbcaz1lfnEXFsoXeR4yHNvutl4uMRDAUt7ezpd9oG8dQeyxgwsP52Q7jUjNBLWC_ysZKxh5DJBE6CJo0egvGuNmZKx1tKIhX6njL_5ZcqKsu5kaKhbiZjFTrA\" alt=\"img-12\"><\/p>\n\n\n\n<p>(iv) For Heroku to effectively operate your web application, you must have a few configuration files in the root of your PHP project repository. <\/p>\n\n\n\n<p>The most significant configuration file is the Procfile. Heroku utilizes This text file to run the initial script for your web application.<\/p>\n\n\n\n<p>For a PHP project utilizing Apache as the web server, the content of the Procfile looks like this:<\/p>\n\n\n\n<p>vi Procfile<\/p>\n\n\n\n<p>Add the below line inside the file<\/p>\n\n\n\n<p>web: vendor\/bin\/heroku-php-apache2 public\/<\/p>\n\n\n\n<p>And then save the file<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"785\" height=\"354\" src=\"https:\/\/lh7-us.googleusercontent.com\/3VSFdOkKn6NwF2BL3Q-Ii5bx6jhDmK2VxhP7cP4x-fD3cRUGBWaXmJV1KjqkSh9r81hOxfDwLdfn5h0p1mGd4UEwypTcCEQKGnRVbVOVY5i8ZnYDptXrm-xXbfJI31egdKnWF590AFEaNO0gzWutRJk\" alt=\"img-13\"><\/p>\n\n\n\n<p>Now we will install the bagisto and provide all the details such as db host, username, password, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5 &#8211; Install Bagsito<\/h2>\n\n\n\n<p>To install the bagisto, you need to run the below command<\/p>\n\n\n\n<p>php artisan bagisto:install<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"359\" src=\"https:\/\/lh7-us.googleusercontent.com\/3j5Zfz34UA14ZgV6MSmd-E_Y5qtmPdcXyEA4FcOOd9vgzEMGrQVLV6krIwS_yXsPvM0A9KJFHM2MoXB6MTL1HotyuW25wlz94CA_xRMLAN_65kf1MwERnIEoBKl3E4ZmPIMh2QNO8qL9lK-TLixakeQ\" alt=\"img-14\"><\/p>\n\n\n\n<p>Mention all the required details<\/p>\n\n\n\n<p>For the application URL, kindly follow the below steps&nbsp;<\/p>\n\n\n\n<p>Go to Dashboard and under the Settings tab inside the Domains Section you will get your app URL<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"352\" src=\"https:\/\/lh7-us.googleusercontent.com\/PwbV4_fHv9UY7JOJttZqUbkIDvpT9sqcO7_Sccc2swHhucQapt5r5KiLMKWxvAYVKoD9lyOc1f9-rmaioiLL7m7QWs5A5sD8EmzCZuqG_9WJdjKP1y3SKT_uBJj1Cc1ufiPqh7_zCbQDrEPMIzBUeA0\" alt=\"img-15\"><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"355\" src=\"https:\/\/lh7-us.googleusercontent.com\/LTc5U4Ak6tbcIhIYKYHuj2c0HH8vF0DZTpfFL9oPAuDUhCeN-duqaqDHmPKhCuPIWjqa9dRClH1R8khLxn-xbaLau4PvDWGE9ED6dv6mLgKdRL1pcR-T-79GTyYReuTZjdkaJEe8zuJSSEDhz7PjKHg\" alt=\"img-16\"><\/p>\n\n\n\n<p>Enter all the Required details for DB host, username, and password which we got in the earlier section<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"743\" height=\"358\" src=\"https:\/\/lh7-us.googleusercontent.com\/3p5AofNzecRoQA3ARb-U8Dooy89yyuz6z9novrAsiuMEGTHTfv6GPIbKhueOilK7FIDHNvGdONr7oyoqQhNpz7_aocQtVONSm6JfzvbpTDlTYBubSMOvg_vqVKhOvASI3qUwr2h3GOQaXFMryx8dUC8\" alt=\"img-17\"><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"336\" src=\"https:\/\/lh7-us.googleusercontent.com\/T9lk5Jw0g44eode4F6lvvAWOYCQvW0-lDg7gE5XWwQZ9xoPeZ3awpQYrBrsNUjJ4nilmQpwZV5K3OZlhPWv5eSzszeEU5djLw0KiweZcim9KVldyPANWjWFeb59EccNdSXmWPJXb8aWQ86gTbAWizUM\" alt=\"img-18\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6 &#8211; Deploy the Bagisto on Heroku<\/h3>\n\n\n\n<p>We have now moved to the deployment stage. Return to the dashboard for the Heroku app created in the first step. <\/p>\n\n\n\n<p>The Deploy tab contains information about the various deployment techniques and parameters.<\/p>\n\n\n\n<p>We&#8217;re utilizing Heroku CLI. As a result, in the Deployment method, select the Heroku CLI.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"383\" src=\"https:\/\/lh7-us.googleusercontent.com\/zQM5TQqgiG-PgfPR-ev6H9ba8GTTGtr_BNFAHEImIQYd4bV7VfWU_ef2vrbb9E_enydzpNpJk3KWHZB752V6oUOXOdWV21JXUqjfYOYhtCNgQHOp_Kz5Kveoe6TrolnXdRT9xMhBou1NjeUZpFJzl3Y\" alt=\"img-19\"><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"748\" height=\"367\" src=\"https:\/\/lh7-us.googleusercontent.com\/IvjbBhN3AT5_1SjZ6p1Hd3ZhrE-mF1Vw-RxAA8zmWMa7p7CmTYE7ZPFXngogQHt2HX-CJtWh9E_YS6cSZ8Xx4dkEzyxMTw8VLZuW0dMU0wrCOZpfje6pKn19D8zKUT6aOmnXopH9HUJVslDmVe_9j9A\" alt=\"img-20\"><\/p>\n\n\n\n<p>Now run the command as mentioned. We have already logged in to the account via CLI so we will skip that part.<\/p>\n\n\n\n<p>(i) First, we will initialize the Repository. Run the below commands &#8211;<\/p>\n\n\n\n<p>git init<\/p>\n\n\n\n<p>heroku git:remote -a bagisto-blog<\/p>\n\n\n\n<p>git add -f .<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"775\" height=\"361\" src=\"https:\/\/lh7-us.googleusercontent.com\/VhyFokAUbDj7aFP8Sxu10wmClCtLXD_YQUaENzV-PoeqbmqiUnR9ZzmAGUj_y_9pXOI7TvW9DJlqLeNiPyKKjbMdWTB-OnvsBLYTM6maG7AxIz70BS8NpPl-DIWEwB-6YYLX7WoxMkT3wOoMIjHq1Ww\" alt=\"img-21\"><\/p>\n\n\n\n<p>git commit -am &#8220;Installing bagisto&#8221;<\/p>\n\n\n\n<p>Then, run the command &#8211;  git push heroku master<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"341\" src=\"https:\/\/lh7-us.googleusercontent.com\/5s0s4mm7EfSBI2iGzjyqVi4bm2S-Q-xR4EJ2BUOVQjC_chldc-tVTLpymchayUQ7eM8WafDIVKC4spa4glCwHuFoRX3vFtF8NDhmpSgu0lZnDxQpAdjfzLJ2gg76NQqwzG1ElbQpL7kL9XCv2ZGItmY\" alt=\"img-22\"><\/p>\n\n\n\n<p>(ii) After running the above command you will get the output like&nbsp; &#8211; \u2018deployed to Heroku\u2019<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"385\" src=\"https:\/\/lh7-us.googleusercontent.com\/nmgi5Ef077sVrVkgDQusU53PZIx_q9lAeZPcANLZdoIU-dz5kV1NdY3W55YIcdBtSUW8-65nVmDj93DCRbRBpKnwSVhCAGVwwnk2dQHxxS3YBaQfLcvzi0e4Ze8b9NpnVDRiathCOpooTyzvRa7jAaQ\" alt=\"img-23\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7 &#8211; The Bagisto has been installed <\/h2>\n\n\n\n<p>Now, open the browser URL to see that the Bagsito has been installed successfully.<\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/gw5n59Fy6dZKvBfMZXMEBWK0POgolfGL9Zhd-S4t0DqHIQnq6iYZLt4dogjkhGXApYknkOTxAjrE1NugtXJMT38CviZtdnTLcEpcGK6G028gPrP2iQP3GjYuyuM5Ru44Spx4SJNC_XF4Nr3QwKslb24\" alt=\"img-24\"><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"413\" src=\"https:\/\/lh7-us.googleusercontent.com\/1TMz6eRVjhwvqd4xwdLtfkaeVQ5MLFxZKP5hIrt4Hq-zRlYfPS-dnFIqD54rkUO5Z6YP1a_1g2N9WC3Aie0tPLB8dnv8Lq3ZAZQqbGF5X38ZN-1Hl-ugQHNBaO5Euz0mF0kX4WX1WKTRLrxj8GFH0Qs\" alt=\"img-25\"><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"need-help\">NEED HELP?<\/h3>\n\n\n\n<p>Was this guide helpful? Please share your feedback in the comments below.<\/p>\n\n\n\n<p>In case you have any issues\/queries regarding the module please raise a ticket at<br><a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\"><strong>https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/<\/strong><\/a><\/p>\n\n\n\n<p>For any further information or query contact us at&nbsp;<strong>support@webkul.com<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Thanks for reading!!<\/strong><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will learn how to deploy Bagisto version 2.1.X on Heroku. What <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[454,2,87,341,36],"tags":[213,3,308,568],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Deploy Bagisto on Heroku - Cloudkul<\/title>\n<meta name=\"description\" content=\"Heroku is a containerized cloud platform as a service (PaaS). Heroku allows developers to deploy, manage, and scale modern apps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Deploy Bagisto on Heroku - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Heroku is a containerized cloud platform as a service (PaaS). Heroku allows developers to deploy, manage, and scale modern apps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-09T10:08:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-24T07:46:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh7-us.googleusercontent.com\/c7CFhmC5OJJqY8XyXW8yFZ1lB7G0zeK6bT7UcQCjPp__onn8We0k4Yjho34hJEfWwNZHoHv_j2Fim3J8OLLj4Wwo_XFeX4e-bJP4W0PPJ6E1-vn9xPUt5pXt8kGn4ZiKWn21285RNbBONGvtcrh93ng\" \/>\n<meta name=\"author\" content=\"Saransh Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/\",\"name\":\"How to Deploy Bagisto on Heroku - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2024-05-09T10:08:43+00:00\",\"dateModified\":\"2024-10-24T07:46:29+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/192dfa8a1a34baf98d1dcd9b9f2cbdb4\"},\"description\":\"Heroku is a containerized cloud platform as a service (PaaS). Heroku allows developers to deploy, manage, and scale modern apps.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Deploy Bagisto on Heroku\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/192dfa8a1a34baf98d1dcd9b9f2cbdb4\",\"name\":\"Saransh Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/90cd23bb6492ae259a2882d76832579a?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/90cd23bb6492ae259a2882d76832579a?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Saransh Gupta\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/saranshgupta-cloud712\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Deploy Bagisto on Heroku - Cloudkul","description":"Heroku is a containerized cloud platform as a service (PaaS). Heroku allows developers to deploy, manage, and scale modern apps.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/","og_locale":"en_US","og_type":"article","og_title":"How to Deploy Bagisto on Heroku - Cloudkul","og_description":"Heroku is a containerized cloud platform as a service (PaaS). Heroku allows developers to deploy, manage, and scale modern apps.","og_url":"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/","og_site_name":"Cloudkul","article_published_time":"2024-05-09T10:08:43+00:00","article_modified_time":"2024-10-24T07:46:29+00:00","og_image":[{"url":"https:\/\/lh7-us.googleusercontent.com\/c7CFhmC5OJJqY8XyXW8yFZ1lB7G0zeK6bT7UcQCjPp__onn8We0k4Yjho34hJEfWwNZHoHv_j2Fim3J8OLLj4Wwo_XFeX4e-bJP4W0PPJ6E1-vn9xPUt5pXt8kGn4ZiKWn21285RNbBONGvtcrh93ng"}],"author":"Saransh Gupta","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/","url":"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/","name":"How to Deploy Bagisto on Heroku - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2024-05-09T10:08:43+00:00","dateModified":"2024-10-24T07:46:29+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/192dfa8a1a34baf98d1dcd9b9f2cbdb4"},"description":"Heroku is a containerized cloud platform as a service (PaaS). Heroku allows developers to deploy, manage, and scale modern apps.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/how-to-deploy-bagisto-on-heroku\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Deploy Bagisto on Heroku"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/192dfa8a1a34baf98d1dcd9b9f2cbdb4","name":"Saransh Gupta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/90cd23bb6492ae259a2882d76832579a?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/90cd23bb6492ae259a2882d76832579a?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Saransh Gupta"},"url":"https:\/\/cloudkul.com\/blog\/author\/saranshgupta-cloud712\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/17726"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=17726"}],"version-history":[{"count":41,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/17726\/revisions"}],"predecessor-version":[{"id":18424,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/17726\/revisions\/18424"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=17726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=17726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=17726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}