dublicate bagisto project

  • 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 
    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

  • 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.

  • @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 
    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

  • 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.

  • @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

  • Hi @cmpengineers,

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

Log in to reply