Skip to main content

GitHub Update

This document will help you to update the Investra web frontend using GitHub. This guide assumes you have deployed to Vercel or Netlify using GitHub.

Prerequisites

  • Ensure you have a GitHub account and install git on your system.
  • Ensure you have a repository for the web frontend project where you already pushed our project.

Install Git on Your System

Open your terminal if you are on Windows open Git Bash.

Step 1: Download the Latest Version

Download the latest version of the project from CodeCanyon and extract it. You know we have three different Zip files on core.zip, admin.zip, standalone-client.zip and static-client.zip.

So, you should have a repository for the frontend.

Step 2: Clone Your Repository

Clone the repository on a core folder.

git clone https://github.com/username/repository.git

Now you have 4 folders on core folder. One from git and one from CodeCanyon.

Step 3: Remove Files Except .git

Go to your git repository folder and remove all files and folder except .git folder.

update-github1.png

As you can see below, removed all files and folder except .git folder.

update-github2.png

Step 4: Copy New Files

Now copy all files and folder from CodeCanyon repository and paste it in your git repository folder.

update-github3.png

Step 5: Push to GitHub

git add .
git commit -m "Update"
git push

Deploy (Vercel or Netlify)

If you have deployed to Vercel or Netlify using GitHub, then GitHub will deploy your frontend automatically after new push.

Conclusion

Congratulations! You have successfully updated the web frontend via GitHub.