Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How can we deploy bagisto application?

    General Discussion
    3
    14
    1575
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • devansh-webkul
      devansh-webkul last edited by

      Hi @gwachhamit,

      • Make sure APP_ENV in production.
      • Always use npm run prod when you are compiling assets.
      • Lastly for double check you already told about that.
      1 Reply Last reply Reply Quote 0
      • G
        gwachhamit last edited by

        Yeah, I've done so.
        But still, it says 'You are running Vue in development mode.' for vue part

        1 Reply Last reply Reply Quote 0
        • devansh-webkul
          devansh-webkul last edited by

          Did you publish your package?

          1 Reply Last reply Reply Quote 0
          • G
            gwachhamit last edited by

            How to do that? npm run build doesnot work with bagisto application.

            1 Reply Last reply Reply Quote 0
            • T
              tahin last edited by

              did you got any solution
              please help me you got any solution

              1 Reply Last reply Reply Quote 0
              • devansh-webkul
                devansh-webkul last edited by devansh-webkul

                I didn't ask about the main. I am just asking did you run the command,
                php artisan vendor:publish --all

                If you have not customized anything then you can run this also,
                php artisan vendor:publish --all --force (Please make sure, if you have not customized then run otherwise place your updated changes manunally.)

                And one more thing I have checked your issue in a production environment, I am not getting the dev mode message in console.

                1 Reply Last reply Reply Quote 0
                • G
                  gwachhamit last edited by

                  Of course, I've done many customization as per the requirement of my application. I've changed many files after publishing with vendor:publish cmd.

                  1 Reply Last reply Reply Quote 0
                  • devansh-webkul
                    devansh-webkul last edited by

                    Just make sure you put your compiled production file manually.

                    1 Reply Last reply Reply Quote 0
                    • G
                      gwachhamit last edited by

                      Sorry I don't get it. What type of compiled production? Would you please mention some important files to check for production?

                      1 Reply Last reply Reply Quote 0
                      • devansh-webkul
                        devansh-webkul last edited by

                        On which theme are you working?

                        1 Reply Last reply Reply Quote 0
                        • G
                          gwachhamit last edited by

                          the default one : Velocity

                          1 Reply Last reply Reply Quote 0
                          • devansh-webkul
                            devansh-webkul last edited by

                            These are the files,
                            https://github.com/bagisto/bagisto/tree/master/packages/Webkul/Velocity/publishable/assets/css

                            Make sure you run npm run prod in velocity pacakge first and then place these publishables manually in public,
                            https://github.com/bagisto/bagisto/tree/master/packages/Webkul/Velocity/publishable/assets/css

                            1 Reply Last reply Reply Quote 0
                            • G
                              gwachhamit last edited by

                              Thank you that helped.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post