Project Upload
There are many ways to upload your project to the server, but we will show you the most common way to upload your project to the server with GitHub. You can also upload your project with FileZilla Client.
Prerequisites
- GitHub repository
- Previous steps
Guides
Please create a new repository in GitHub and push your project to the repository. Then follow the below steps to upload your project to the server.
Upload Project
Open your terminal and connect your vps with ssh.
Before uploading the project, you need to install git
on your server, authorized if your have created private
repository and clone the repository. Then follow the below steps to upload your project to the server.
Clone your repository with the following command:
git clone <github_repo_link>
The easiest way to authorized GitHub in Linux is to use Classic Personal Access token
.
Generate a new Classic Personal Access token
from here and use it to clone and authorized the repository.
After cloning the repository, you will get the project folder in your server. Now you are ready to perform next steps. Stay tuned...