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

Bagisto

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

dublicate bagisto project

Installing Bagisto
2
6
474
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 14 Dec 2020, 10:30 14 Dec 2020, 09:40

    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 14 Dec 2020, 11:57

      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 14 Dec 2020, 12:04 14 Dec 2020, 12:01

        @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 15 Dec 2020, 04:30

          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 15 Dec 2020, 09:15

            @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 15 Dec 2020, 12:32

              Hi @cmpengineers,

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

              1 Reply Last reply Reply Quote 0
              5 out of 6
              • First post
                5/6
                Last post