Discuss

Creating a Wappler project based on existing Git Repository

On this page

Thanks to Wappler integration with GitHub, Gitlab or BitBucket, now It's really easy to share Wappler projects between multiple computers or when working in a team.

You already know how to Create Remote Repositories on GitHub, Gitlab or Bitbucket and push your projects there. Once you do this, you can clone these projects from there on multiple computers.

Cloning a project from a remote Git Repository

We will show you how to do this using GitHub, but it's the same with any other provider.

Open the Projects Manager in Wappler:

Screenshot_1|690x414

Click the Clone Project From Git Repository button:

Screenshot_3|690x414

Enter the URL of your Git repository:

Screenshot_4|690x414

Then select a local folder where the project will be stored:

Screenshot_5|690x414

And click the Clone button:

Screenshot_6|690x414

If this is the first time you are doing it, GitHub will ask you to authorize access to this repository. Click the Authorize button:

Screenshot_7|690x414

You will be taken to App Authorization Page in your browser:

Screenshot_8|690x414

Then click the Open Wappler button in the alert:

Screenshot_9|690x414

You will be taken back to Wappler. You can see your project cloned - all the files are now available in the File Manager:

Screenshot_1|690x414

And you can see the changes committed in the Git Panel:

Screenshot_12|690x414

Push and Pull Changes

When you are done working on the project you can send your changes to the remote repository, where they will be available for the other members of your team or for your other machines using this remote repository.

In order to upload local repository content to a remote repository, we use the Push option. Pushing is how you transfer commits from your local repository to a remote repository. Click the Push to Remote button in order to do this:

Screenshot_14|690x414

When you want to get the latest changes pushed by the others to the remote repository, use the Pull option:

Screenshot_15|690x414

So, that's how easy it is to share Wappler projects between multiple machines or between team members.