I’ve got some questions regarding Capistrano deployment
- I’ve set up my staging env on a subdomain relative to the main domain which will host production website - is this a good practice, first of all?
- I was not able to find this information anywhere, but after deploying the site for the first time to staging environment, I had to actually perform a regular wordpress install by going to the wp/wp-install.php (of course db was created earlier as the .env file needed the db data)… just a note.
- I’ve created .env file with staging info, and put it to /my-app/shared directory. Now, where do i put the production .env file? This part is kinda confusing for me, I’ve watched the screencast and all, and I can’t figure this out.