Open benoit-bremaud opened 3 months ago
git checkout main
git pull origin main
git checkout -b feature/deploy-backend-plesk
It sounds like the branch hasn't been pushed to the remote repository yet. Let's make sure you create and push the branch correctly.
Create the new branch:
Ensure you're on the main
branch and it's up-to-date:
git checkout main
git pull origin main
Create the new branch for the deployment process:
git checkout -b feature/deploy-backend-plesk
Make your changes:
Make any necessary changes for the deployment, such as removing the Heroku configurations and adding new Plesk configurations.
Commit the changes:
Add and commit your changes:
git add .
git commit -m "chore(deployment): setup deployment for Plesk"
Push the branch to the remote repository:
Publish the new branch to GitHub:
git push -u origin feature/deploy-backend-plesk
feature/deploy-backend-plesk
branch is listed.Create a new branch:
git checkout -b feature/deploy-backend-plesk
Make your changes and commit them:
git add .
git commit -m "chore(deployment): setup deployment for Plesk"
Push the branch to GitHub:
git push -u origin feature/deploy-backend-plesk
Once the branch is pushed and published on GitHub, you can proceed with the pull request and the rest of the deployment steps as outlined previously. If you encounter any issues or need further assistance, please let me know!
Step 2: Upload Your Backend Files to Plesk Log in to your Plesk account:
Open your web browser and log in to your Plesk control panel. Navigate to the domain or subdomain where you want to deploy your backend.
Go to Websites & Domains and select the domain or subdomain. Open the File Manager:
Click on File Manager to manage the files for the selected domain. Upload your backend files:
Use the Upload button to upload your project files (or use an FTP client to upload your files to the appropriate directory). Ensure your project files are in the correct directory:
Typically, you will place your backend files in a directory like httpdocs or a subdirectory under it.
Step-by-Step Guide to Deploy Backend on Plesk Prerequisites