Closed traveler9878 closed 1 year ago
Hi @traveler9878 - Good question. It is possible to duplicate an existing Laravel project, but there are some steps you'll need to take to get it operational.
For insight into this, check out the Part 6 of this week's videos where I talk about setting up a production version of an application, as it's very similar to what you're trying to do. The difference is, you won't be cloning the repository to get the copy - instead you'll just duplicate the p2 folder. There are a few other small differences as well so here's a summary of the steps:
vendor
directory and rebuild with composer update
storage
and bootstrap/cache
php artisan key:generate
to generate application keyIf you run into any road blocks getting it up and running, let me know.
great, thanks that's the way i'll plan to go then
I'm planning to start p3 from where I left of with p2. I started by doing a copy and past in VSCode of the p2 directory into a p3 directory. I know I will need to setup the web server to recognize p3 and a few other things but I'm wondering if this is an 'ok' thing to do in the laravel environment or if laravel needs to actually create the project due to underlying configurations or something like that... also thought this would make an interesting post for the class collaborations.
Thanks.