How to deploy bagisto to heroku? step by step please.
Ive tried deploying to heroku but getting error:
because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Ive updated the appserviceprovider.php file and made sure my procfile and htaccess file are configired correctlu but I am still getting this error.
this is my homepage
@ssf Ive also deployed to aws but also getting same issue there.
Which version of Bagisto are you using?
@Amitk-Webkul I believe the latest. I used composer create-project bagisto/bagisto
please follow the given steps for installing the Bagisto.
- git clone https://github.com/bagisto/bagisto.git
- cd bagisto
- composer create-project or create-project bagisto/bagisto
- nano .env [configure app_url, email and database credentials]
- php artisan bagisto:install
If still facing the same please let us know.
@Amitk-Webkul Thanks that seems to work but Im getting 404 error for resources. Also only home page works, when i try to navigate to another page eg. the admin page - I get "url was not found on this server" error. Is this something with route I need to configure?
@ssf I got it working. Had to enable modwrite restart server
@Amitk-Webkul Is there an update on how to integrate stripe payment