Hi
we are two developers working on the same project at the same time.
When I modify a style, wappler automatically send the file to the target. But in the same time, the other developer makes modifications to the style and automatically send the file to the target. In this situation when wappler send my modifications it overwrite those of the other developer and vice versa. How can we solve this problem?
Can the local folder and target folder be the same?
Thanks
why you dont use GIT ?
Hi thanks for your reply. Even if using git there is no realtime sync. If we work at the same time on two differents pages but they share the same stylesheet, there are two differents versions of the same file. I’m wrong?
It is possible to have a local folder on a remote server, so we can work on the same file?
Typically each developer has their own environment, locally.
Yes this is true. We have 2 local folder, one per developer. But when we work, every time we save the work Wappler upload the file to the server. If I save my work first, the stylesheet is uploaded with my modifications. Then the other collaborator save his work with his modifications and his file overwrite mine. So I lost my modifications.
That doesn’t sound like local. To me working locally means the files and web server are on the local drive of the developer. If using a local target, the files should remain local and not be sent to a remote server.
No I have a local folder but the target is a remote server and the other collaborator too.
This is wrong?
Ya, you just are asking for problems if you use the same environment. Each developer should have a local target using a local server or have their own remote environment. Whatever you do, it has to be unique to each developer.
Then you use git and GitHub to keep things in sync.
You might benefit from some googling of workflows that use github—there is no need to invent your own process. Wappler just allows you to perform the git commands.
Ok thanks for your support. I’m new to web development.
Now I need to understand how to setup all those things and how the flow works.
Thanks again