Answer the question
In order to leave comments, you need to log in
How to deploy a project from GitHub to production?
I took a copy of the production site and deployed it on a local machine. Installed git locally and testing on a test site. Next, I cloned the project on GitHub and now the question arose of how to properly deploy it to the production site.
I tried to clone git clone [email protected]:name/project.git
it, but it did not work, because the folder is not empty (there is an old version of the site)
Please tell me how to implement it?
Answer the question
In order to leave comments, you need to log in
Connecting the repository is not in the early stages of development, it is always specific. The best thing is to store the project in a new folder, configure everything there and redirect the web server traffic there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question