Skip to main content

How do I update existing code with new release?

info

As per Envato policy, installation, setup, configurations, or modification are not included in free support. Free support is only for any bug/error in the original code. We do not provide installation and customization support in FREE SUPPORT.

Still, we are providing steps for how to update future release code to existing source code for your knowledge purpose.

PLEASE DO NOT CREATE TICKETS IF YOU FACE ANY ISSUE DURING THE UPDATE OF YOUR CODE. WE WILL NOT PROVIDE ANY SUPPORT ON THAT.

How to Update Future Release Code to Existing Source Code

If you want to know which file changes are in the latest updated version, you have to manage the Git repository by yourself. Here are the steps on how to update the existing source code.

For First Time: Initial Project Downloaded from Codecanyon Server

Step 1: Create or Login with GitLab

Login or register your account with GitLab: GitLab Login

Step 2: Create a New Project in GitLab

To create a project in GitLab:

  1. In your dashboard, click the green "New project" button or use the plus icon in the navigation bar. This opens the New project page.

  2. On the New project page, select "Create a blank project."

    Image

    Image

Step 3: Clone Your Project to Your Local System

Once the project is created on your GitLab server, you have to clone the project to your local system. You can clone it using the command line. For example:

git clone [repository path]

Copy your project URL and clone it into your existing system.

Image

Image

Once successfully cloned, a folder will be created on your system.

Image

Step 4: Download Project from Codecanyon Server

Step 5: Copy/Paste Your Initial Downloaded Project to Clone Directories

Once you have successfully downloaded the project from CodeCanyon, copy/paste your downloaded project into the clone directories.

Note: Only the original source code is put here.

Image

Step 6: Commit and Push to GitLab Server

After copying/pasting your changes to clone directories, you have to push all files to your GitLab server. Follow these commands:

  1. Before committing to the server directories, you have to remove the following folders from your project:
    • build
    • .idea
    • .gradle
  2. Go inside your clone directory project.

Image

  1. Add all your files with the command git add ..

  2. Commit your changes with the following command:

    git commit -m 'initial commit'

    Note: Write your latest version message instead of "initial commit."

    Image

  3. Push your changes to the server with the command git push and provide your GitLab credential details.

Image

  1. Check all your changes on the GitLab server.

Image

For Updating Existing Code (If Already Have an Old Version of the Project)

Note: If you remove the project from the local system, then clone the project again from your GitLab server. Follow the same Step 3: Clone your project to your local system.

Steps 1: Download the Latest Version from CodeCanyon Server

Once you receive the mail for updates, download the latest code from the CodeCanyon server.

Steps 2: Copy/Paste Your Initial Downloaded Project to Clone Directories

Once you have successfully downloaded the project from CodeCanyon, copy/paste your downloaded project into the clone directories.

Note: Only the original source code is put here.

Steps 3: Commit and Push to GitLab Server

Follow the same Step 6 : Commit and push to GitLab server.

Steps 4: Check Updated Files

After committing your latest changes, go to the GitLab project dashboard and click on the commit link.

Image

Click on the link that has your commit message from the above Steps 3.

Image

Now, check all the changed files.

Image

Click on "XX changed file" to see which file has been changed.

Image