susanBuck / e15-spring23

0 stars 0 forks source link

Using p2 as a base for p3? #22

Closed traveler9878 closed 1 year ago

traveler9878 commented 1 year ago

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.

susanBuck commented 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:

If you run into any road blocks getting it up and running, let me know.

traveler9878 commented 1 year ago

great, thanks that's the way i'll plan to go then