Bagisto Forum

    Bagisto

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

    dublicate bagisto project

    Installing Bagisto
    2
    6
    413
    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.
    • C
      cmpengineers last edited by cmpengineers

      Hello

      i have a bagisto project on my local machine, i have did some modification, and i want to duplicate the same project with a different name and push live

      but for some reason migration is not working nothing happen when type , and there is no error at all

      php artisan migrate --seed 
      or 
      php artisan bagisto:install 
      
      

      the reason i want to duplicate the project is because i don't want to install fresh bagisto and then do the same modification

      Screen Shot 2020-12-14 at 1.29.00 PM.png

      Screen Shot 2020-12-14 at 1.28.37 PM.png

      please advise

      best regards

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

        Hi @cmpengineers,

        It looks like you have changed the env vars in .env. So always run php artisan config:cache after changing.

        And check you db as well these migrations table goes to previous db as well.

        1 Reply Last reply Reply Quote 0
        • C
          cmpengineers last edited by cmpengineers

          @devansh-webkul

          Thank you very much

          it did fixed it but it give me another error

          Screen Shot 2020-12-14 at 3.00.32 PM.png

          when I did

          php artisan migrate:fresh --seed 
          or 
          PHP artisan vendor:publish 
          

          any command I do still giving me the same error , and I checkt the dbname , user , password its all correct

          please advise

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

            Hi @cmpengineers,

            It's not related to any DB connections, it is because of the migration which I guess not run properly. Please try again.

            1 Reply Last reply Reply Quote 0
            • C
              cmpengineers last edited by

              @devansh-webkul

              Dear im running inside the project still not working

              i did fix it but im not sure if its the right way

              I took SQL file just for channels and I import into project laravel datatabase then I did

              PHP artisan migrate:fresh --seed 
              

              and it works

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

                Hi @cmpengineers,

                Good to see, things are working now. But still, it is very strange.

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