• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

How can we deploy bagisto application?

General Discussion
3
14
1.6k
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.
  • G
    gwachhamit last edited by 7 Jul 2021, 08:32

    I want to deploy the application, and in .env file i've made like

    APP_DEBUG=false
    

    This will make laravel application in production mode where as for Vue i've made

    Vue.config.devtools = false;
    Vue.config.debug = false;
    Vue.config.silent = true;
    

    But in console tab, it shows your application is in development mode for vue components.

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 7 Jul 2021, 09:36

      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 7 Jul 2021, 12:33

        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 8 Jul 2021, 04:31

          Did you publish your package?

          1 Reply Last reply Reply Quote 0
          • G
            gwachhamit last edited by 9 Jul 2021, 10:55

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

            1 Reply Last reply Reply Quote 0
            • T
              tahin last edited by 10 Jul 2021, 12:11

              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 12 Jul 2021, 04:28 12 Jul 2021, 04:27

                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 13 Jul 2021, 05:48

                  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 13 Jul 2021, 06:32

                    Just make sure you put your compiled production file manually.

                    1 Reply Last reply Reply Quote 0
                    • G
                      gwachhamit last edited by 14 Jul 2021, 03:34

                      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 14 Jul 2021, 04:39

                        On which theme are you working?

                        1 Reply Last reply Reply Quote 0
                        • G
                          gwachhamit last edited by 14 Jul 2021, 06:23

                          the default one : Velocity

                          1 Reply Last reply Reply Quote 0
                          • devansh-webkul
                            devansh-webkul last edited by 15 Jul 2021, 04:55

                            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 19 Jul 2021, 12:05

                              Thank you that helped.

                              1 Reply Last reply Reply Quote 0
                              4 out of 14
                              • First post
                                4/14
                                Last post