How does the git repositories work?

Im trying to setup a website in wappler using heroku for hosting.

After the initial setup it connects to the remote git repository at heroku and gives me 2 targets for deployment “development” and “production”.

However even after spending a lot of time messing around with it trying to figure out what exactly, what does and reading through the documentation mulitple times, i still have no idea how it works.

Can someone give me a rundown of how it works?

The targets seem to not matter at all when using the “deploy with heroku” button at all. All changes just get pushed to the live version of the app hosted on heroku.

If i make a branch and deploy to that it seems it pushes the changes to a different branch on the git repository. However i cant seem to find any way to run an app off that branch? How am i supposed to test things without pushing them to the “main/master” branch?

If i select a prior version in the git manager and press the “pull” button absolutely nothing seems to happen, it for sure doesnt revert my files back to that version? And likewise if i either “pull” a prior version or select it and then deploy also nothing seem to happen?

So overall im just baffled by how this is meant to be used, any input would be highly appreciated, thanks in advance.

If there is no specific reasons to use Heroku I would strongly suggest to use other VPS providers like Hetzner or Digical Ocean.

1 Like

Will take a look at theese instead thanks a lot for your input

Railway is the new Heroku. Have a look for yourself:

2 Likes

Thats looks a lot better! Thanks ben :+1: